diff options
author | Stanislaw Gruszka <stf_xl@wp.pl> | 2022-10-27 15:43:34 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-11-18 13:55:08 -0800 |
commit | dc3f4dee81cd85b039d07b8d75cfbae4668a15d2 (patch) | |
tree | 362527033873bef3d20571dafdf690904d7d33d8 /rust/alloc/alloc.rs | |
parent | 5cc81d5c81af0dee54da9a67a3ebe4be076a13db (diff) | |
download | linux-dc3f4dee81cd85b039d07b8d75cfbae4668a15d2.tar.gz linux-dc3f4dee81cd85b039d07b8d75cfbae4668a15d2.tar.bz2 linux-dc3f4dee81cd85b039d07b8d75cfbae4668a15d2.zip |
scripts: checkpatch: allow "case" macros
Do not report errors like below:
./scripts/checkpatch.pl -f drivers/net/wireless/ath/ath10k/wmi.h
ERROR: Macros with complex values should be enclosed in parentheses
+#define C2S(x) case x: return #x
since many "case ..." macros are already used by some in-kernel drivers.
Link: https://lkml.kernel.org/r/20221027134334.164301-1-stf_xl@wp.pl
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/alloc/alloc.rs')
0 files changed, 0 insertions, 0 deletions