Re: [PATCH net-next] liquidio: fix Smatch error

2017-08-18 Thread David Miller
From: Felix Manlunas Date: Fri, 18 Aug 2017 13:07:19 -0700 > From: Intiyaz Basha > > Fix Smatch error by not dereferencing iq pointer if it's NULL. > > See http://marc.info/?l=kernel-janitors&m=150296723301129&w=2 > > Also, remove unnecessary parentheses. > > Fixes: d314ac222829 ("liquidio:

[PATCH net-next] liquidio: fix Smatch error

2017-08-18 Thread Felix Manlunas
From: Intiyaz Basha Fix Smatch error by not dereferencing iq pointer if it's NULL. See http://marc.info/?l=kernel-janitors&m=150296723301129&w=2 Also, remove unnecessary parentheses. Fixes: d314ac222829 ("liquidio: moved liquidio_napi_poll to lio_core.c") Reported-by: Dan Carpenter Signed-off