From: Andy Whitcroft Date: Fri, 27 Feb 2009 22:03:08 +0000 (-0800) Subject: checkpatch: add __ref as a sparse modifier X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=417495eda3ce50f9c6d28f8e9ddb3bbb25f07f4c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git checkpatch: add __ref as a sparse modifier Add __ref as a sparse modifier. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 0dcfdce632b..60ad8dbd79e 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -110,7 +110,8 @@ our $Sparse = qr{ __iomem| __must_check| __init_refok| - __kprobes + __kprobes| + __ref }x; our $Attribute = qr{ const|