aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c
diff options
context:
space:
mode:
authorJulia Lawall <julia.lawall@lip6.fr>2017-05-12 22:54:23 +0800
committerDavid S. Miller <davem@davemloft.net>2017-05-15 14:28:10 -0400
commit8c977f5a856a7276450ddf3a7b57b4a8815b63f9 (patch)
treefec16c48b8a7b82c8147c90b1a9e240e1ea907e5 /drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c
parentnet/packet: fix missing net_device reference release (diff)
downloadlinux-dev-8c977f5a856a7276450ddf3a7b57b4a8815b63f9.tar.xz
linux-dev-8c977f5a856a7276450ddf3a7b57b4a8815b63f9.zip
mdio: mux: fix device_node_continue.cocci warnings
Device node iterators put the previous value of the index variable, so an explicit put causes a double put. In particular, of_mdiobus_register can fail before doing anything interesting, so one could view it as a no-op from the reference count point of view. Generated by: scripts/coccinelle/iterators/device_node_continue.cocci CC: Jon Mason <jon.mason@broadcom.com> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c')
0 files changed, 0 insertions, 0 deletions