]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: prefer __section over __attribute__((section(...)))
authorJoe Perches <joe@perches.com>
Wed, 25 Sep 2019 23:46:44 +0000 (16:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Sep 2019 00:51:39 +0000 (17:51 -0700)
commit790b9194e5868f42801e60c822be2b0a34bc24b5
tree5219fbd7b18f82f56582b8a45df526ac656d7e91
parent04787c56d359137ea3198844ae59dd38d5921f48
checkpatch: prefer __section over __attribute__((section(...)))

Add another test for __attribute__((section("foo"))) uses that should be
__section(foo)

Link: http://lkml.kernel.org/r/2f374c3c27054b7f978115270d587c624d9962fc.camel@perches.com
Suggested-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl