Re: [PATCH] checkpatch: add __rcu as a sparse modifier

From: Eric Dumazet
Date: Sun May 08 2011 - 14:44:04 EST


Le dimanche 08 mai 2011 Ã 11:54 +0200, Sven Eckelmann a Ãcrit :
> Signed-off-by: Sven Eckelmann <sven@xxxxxxxxxxxxx>
> ---
> scripts/checkpatch.pl | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index d867081..9dc3800 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -145,7 +145,8 @@ our $Sparse = qr{
> __must_check|
> __init_refok|
> __kprobes|
> - __ref
> + __ref|
> + __rcu
> }x;
>
> # Notes to $Attribute:

Acked-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/