[Intel-wired-lan] [PATCH] igb: fix itnull.cocci warnings

Brown, Aaron F aaron.f.brown at intel.com
Thu Jan 7 02:09:01 UTC 2016


> From: Intel-wired-lan [intel-wired-lan-bounces at lists.osuosl.org] on behalf of Julia Lawall [julia.lawall at lip6.fr]
> Sent: Wednesday, December 23, 2015 4:52 AM
> To: Gangfeng Huang
> Cc: intel-wired-lan at lists.osuosl.org; kbuild-all at 01.org
> Subject: [Intel-wired-lan] [PATCH] igb: fix itnull.cocci warnings
> 
> The index variable of list_for_each_entry_safe should never be NULL.
> 
> Generated by: scripts/coccinelle/iterators/itnull.cocci
> 
> CC: Gangfeng Huang <gangfeng.huang at ni.com>
> Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
> ---
> 
>  igb_cdev.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Tested-by: Aaron Brown <aaron.f.brown at intel.com>


More information about the Intel-wired-lan mailing list