lkml.org 
[lkml]   [2020]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] checkpatch: add NOKPROBE_SYMBOL to list of special cases
From
Date
On 18.02.20 20:21, Christian Borntraeger wrote:
> NOKPROBE_SYMBOL should - like EXPORT_SYMBOL - directly follow the
> struct or union. This is widely used.
> See git grep -B 1 NOKPROBE_SYMBOL
>
> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
> ---
> scripts/checkpatch.pl | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index a63380c6b0d2..d4cc992d4876 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -3354,6 +3354,7 @@ sub process {
> $line =~ /^\+/ &&
> !($line =~ /^\+\s*$/ ||
> $line =~ /^\+\s*EXPORT_SYMBOL/ ||
> + $line =~ /^\+\s*NOKPROBE_SYMBOL/ ||
> $line =~ /^\+\s*MODULE_/i ||
> $line =~ /^\+\s*\#\s*(?:end|elif|else)/ ||
> $line =~ /^\+[a-z_]*init/ ||
>


ping?

\
 
 \ /
  Last update: 2020-02-25 09:36    [W:0.059 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site