aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-08-22 00:57:36 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 13:52:48 -0400
commit33aa4597dda21348590452656728af2553d2d572 (patch)
tree35827a24b07c99dac756771dfaf6b554e94ea359 /scripts
parent5b57980de6b228696dfaf70ad50a8550fbb14fc7 (diff)
checkpatch: update section keywords
As of commit bd721ea73e1f ("treewide: replace obsolete _refok by __ref"), __init_refok no longer exists, so it can be removed. While at it, add the modern variants that were still missing. Link: http://lkml.kernel.org/r/20180706084205.26367-1-geert+renesas@glider.be Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 0f9788ab988b..b5c875d7132b 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -346,9 +346,10 @@ our $Sparse = qr{
346 __force| 346 __force|
347 __iomem| 347 __iomem|
348 __must_check| 348 __must_check|
349 __init_refok|
350 __kprobes| 349 __kprobes|
351 __ref| 350 __ref|
351 __refconst|
352 __refdata|
352 __rcu| 353 __rcu|
353 __private 354 __private
354 }x; 355 }x;