[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180627160501.E369660B10@smtp.codeaurora.org>
Date: Wed, 27 Jun 2018 16:05:01 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Varsha Rao <rvarsha016@...il.com>
Cc: Stanislav Yakovlev <stas.yakovlev@...il.com>,
"David S. Miller" <davem@...emloft.net>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Nicholas Mc Guire <der.herr@...r.at>,
Lukas Bulwahn <lukas.bulwahn@...il.com>,
Varsha Rao <rvarsha016@...il.com>
Subject: Re: net: ipw2x00: Replace NULL comparison with !priv
Varsha Rao <rvarsha016@...il.com> wrote:
> Remove extra parentheses and replace NULL comparison with !priv, to fix
> clang warning of extraneous parentheses and check patch issue. Following
> coccinelle script is used to fix it.
>
> @disable is_null,paren@
> expression e;
> statement s;
> @@
> if (
> - (e==NULL)
> +!e
> )
> s
>
> Signed-off-by: Varsha Rao <rvarsha016@...il.com>
Patch applied to wireless-drivers-next.git, thanks.
4e5f881d430a net: ipw2x00: Replace NULL comparison with !priv
--
https://patchwork.kernel.org/patch/10445241/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists