Re: [PATCH v2] checkpatch: support more uppercase $logFunctions
From: Joe Perches
Date: Thu Mar 19 2015 - 05:13:30 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/