Thread (2 messages) 2 messages, 2 authors, 2018-06-27

Re: net: ipw2x00: Replace NULL comparison with !priv

From: Kalle Valo <hidden>
Date: 2018-06-27 16:05:06
Also in: linux-wireless, lkml

Varsha Rao [off-list ref] 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 <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help