* [PATCH] checkpatch: add NOKPROBE_SYMBOL to list of special cases
@ 2020-02-18 19:21 Christian Borntraeger
2020-02-25 8:35 ` Christian Borntraeger
0 siblings, 1 reply; 3+ messages in thread
From: Christian Borntraeger @ 2020-02-18 19:21 UTC (permalink / raw)
To: Andy Whitcroft, Joe Perches; +Cc: linux-kernel, Christian Borntraeger
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/ ||
--
2.25.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] checkpatch: add NOKPROBE_SYMBOL to list of special cases
2020-02-18 19:21 [PATCH] checkpatch: add NOKPROBE_SYMBOL to list of special cases Christian Borntraeger
@ 2020-02-25 8:35 ` Christian Borntraeger
2020-03-11 7:29 ` Christian Borntraeger
0 siblings, 1 reply; 3+ messages in thread
From: Christian Borntraeger @ 2020-02-25 8:35 UTC (permalink / raw)
To: Andy Whitcroft, Joe Perches; +Cc: linux-kernel
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] checkpatch: add NOKPROBE_SYMBOL to list of special cases
2020-02-25 8:35 ` Christian Borntraeger
@ 2020-03-11 7:29 ` Christian Borntraeger
0 siblings, 0 replies; 3+ messages in thread
From: Christian Borntraeger @ 2020-03-11 7:29 UTC (permalink / raw)
To: Andy Whitcroft, Joe Perches; +Cc: linux-kernel
On 25.02.20 09:35, Christian Borntraeger wrote:
> 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?
ping
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-11 7:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18 19:21 [PATCH] checkpatch: add NOKPROBE_SYMBOL to list of special cases Christian Borntraeger
2020-02-25 8:35 ` Christian Borntraeger
2020-03-11 7:29 ` Christian Borntraeger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).