From: Geert Uytterhoeven Date: Wed, 22 Aug 2018 04:57:36 +0000 (-0700) Subject: checkpatch: update section keywords X-Git-Tag: v4.19-rc1~59^2~71 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=33aa4597dda21348590452656728af2553d2d572;p=linux.git 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 Acked-by: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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{ __force| __iomem| __must_check| - __init_refok| __kprobes| __ref| + __refconst| + __refdata| __rcu| __private }x;