mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
561ed23331
drivers/net/ethernet/qlogic/qed/qed_dcbx.c:1230:13-20: WARNING: kzalloc should be used for dcbx_info, instead of kmalloc/memset drivers/net/ethernet/qlogic/qed/qed_dcbx.c:1192:13-20: WARNING: kzalloc should be used for dcbx_info, instead of kmalloc/memset Use kzalloc rather than kmalloc followed by memset with 0 This considers some simple cases that are common and easy to validate Note in particular that there are no ...s in the rule, so all of the matched code has to be contiguous Generated by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci CC: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Makefile | ||
qed_cxt.c | ||
qed_cxt.h | ||
qed_dcbx.c | ||
qed_dcbx.h | ||
qed_dev_api.h | ||
qed_dev.c | ||
qed_hsi.h | ||
qed_hw.c | ||
qed_hw.h | ||
qed_init_fw_funcs.c | ||
qed_init_ops.c | ||
qed_init_ops.h | ||
qed_int.c | ||
qed_int.h | ||
qed_l2.c | ||
qed_l2.h | ||
qed_main.c | ||
qed_mcp.c | ||
qed_mcp.h | ||
qed_reg_addr.h | ||
qed_selftest.c | ||
qed_selftest.h | ||
qed_sp_commands.c | ||
qed_sp.h | ||
qed_spq.c | ||
qed_sriov.c | ||
qed_sriov.h | ||
qed_vf.c | ||
qed_vf.h | ||
qed.h |