checkpatch: update section keywords
authorGeert Uytterhoeven <[email protected]>
Wed, 22 Aug 2018 04:57:36 +0000 (21:57 -0700)
committerLinus Torvalds <[email protected]>
Wed, 22 Aug 2018 17:52:48 +0000 (10:52 -0700)
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/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
scripts/checkpatch.pl

index 0f9788ab988b040fa3eb12a89ac9cb883f23ce63..b5c875d7132b2fcd4ca7ddc675103172073e7dd6 100755 (executable)
@@ -346,9 +346,10 @@ our $Sparse        = qr{
                        __force|
                        __iomem|
                        __must_check|
-                       __init_refok|
                        __kprobes|
                        __ref|
+                       __refconst|
+                       __refdata|
                        __rcu|
                        __private
                }x;