Messages in this thread | | | Subject | Re: [PATCH v2] checkpatch: support more uppercase $logFunctions | From | Joe Perches <> | Date | Thu, 19 Mar 2015 02:13:07 -0700 |
| |
On Thu, 2015-03-19 at 09:26 +0100, Tom Van Braeckel wrote: > Add support for uppercase logging function names (so that they may > exceed 80 cols) and regroup the matched expressions more logically. > > Previously, WARN, WARN_RATELIMIT, WARN_ONCE were already supported but > many other uppercase logging functions were not and this caused > unfixable checkpatch warnings (an example: drivers/bluetooth/btusb.c)
I think BT_DBG is a poor macro as it's just
#define BT_DBG(fmt, ...) pr_debug(fmt "\n", ##__VA_ARGS__)
and I'd rather see a treewide sed for that to pr_debug
| |