[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20180706084205.26367-1-geert+renesas@glider.be>
Date: Fri, 6 Jul 2018 10:42:05 +0200
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Andy Whitcroft <apw@...onical.com>, Joe Perches <joe@...ches.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH v2 resend] checkpatch: Update section keywords
As of commit bd721ea73e1f9655 ("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.
Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
Acked-by: Joe Perches <joe@...ches.com>
---
v2:
- Add Acked-by,
- Improve one-line summary.
---
scripts/checkpatch.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index a9c05506e325fc84..8d0bad190c25e2e0 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;
--
2.17.1
Powered by blists - more mailing lists