[PATCH] bnxt_re: fix itnull.cocci warnings
From: Julia Lawall <hidden>
Date: 2016-12-09 10:54:55
Also in:
linux-rdma
From: Julia Lawall <hidden>
Date: 2016-12-09 10:54:55
Also in:
linux-rdma
list_for_each_entry iterator variable cannot be NULL. Generated by: scripts/coccinelle/iterators/itnull.cocci CC: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Julia Lawall <redacted> Signed-off-by: Fengguang Wu <redacted> --- url: https://github.com/0day-ci/linux/commits/Selvin-Xavier/Broadcom-RoCE-Driver-bnxt_re/20161209-154823 base: https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git master I received some other warnings as well. Not sure if they have been passed along already:
quoted
drivers/infiniband/hw/bnxtre/bnxt_re_ib_verbs.c:2455:4-14: code aligned
with following code on line 2456 --
quoted
drivers/infiniband/hw/bnxtre/bnxt_re_main.c:1047:2-20: code aligned
with following code on line 1048 drivers/infiniband/hw/bnxtre/bnxt_re_main.c:1188:3-43: code aligned with following code on line 1190 --
quoted
drivers/infiniband/hw/bnxtre/bnxt_re_main.c:834:6-8: ERROR: iterator
variable bound on line 832 cannot be NULL