mirror_ubuntu-kernels/drivers/net/ethernet/qlogic/qed
Wei Yongjun 2f7878c06e qed: fix invalid use of sizeof in qed_alloc_qm_data()
sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.

Fixes: b5a9ee7cf3 ("qed: Revise QM configuration")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-25 11:59:36 -04:00
..
Makefile qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_cxt.c qed: aRFS infrastructure support 2017-04-17 13:06:18 -04:00
qed_cxt.h qed: Don't use main-ptt in unrelated flows 2017-04-06 14:26:31 -07:00
qed_dcbx.c qed: Add support for static dcbx. 2017-04-24 12:19:56 -04:00
qed_dcbx.h qed: Cleanup DCBx unnecessary parameters. 2017-04-24 12:19:44 -04:00
qed_debug.c qed*: Add support for QL41xxx adapters 2017-03-14 11:43:30 -07:00
qed_debug.h qed: Add support for debug data collection 2016-09-07 17:46:59 -07:00
qed_dev_api.h qed: refactor tunnelling - API/Structs 2017-04-25 11:49:30 -04:00
qed_dev.c qed: fix invalid use of sizeof in qed_alloc_qm_data() 2017-04-25 11:59:36 -04:00
qed_fcoe.c qed: Don't use main-ptt in unrelated flows 2017-04-06 14:26:31 -07:00
qed_fcoe.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_hsi.h qed: aRFS infrastructure support 2017-04-17 13:06:18 -04:00
qed_hw.c qed: Warn PTT usage by wrong hw-function 2017-04-06 14:26:31 -07:00
qed_hw.h qed: Revise QM cofiguration 2017-04-03 19:16:37 -07:00
qed_init_fw_funcs.c qed: aRFS infrastructure support 2017-04-17 13:06:18 -04:00
qed_init_ops.c qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
qed_init_ops.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_int.c qed: Revise QM cofiguration 2017-04-03 19:16:37 -07:00
qed_int.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_iscsi.c qed: Provide iSCSI statistics to management 2017-04-06 14:26:31 -07:00
qed_iscsi.h qed: Provide iSCSI statistics to management 2017-04-06 14:26:31 -07:00
qed_l2.c qed - VF tunnelling support [VXLAN/GENEVE/GRE] 2017-04-25 11:49:32 -04:00
qed_l2.h qed: aRFS infrastructure support 2017-04-17 13:06:18 -04:00
qed_ll2.c qed: Don't use main-ptt in unrelated flows 2017-04-06 14:26:31 -07:00
qed_ll2.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_main.c qed - VF tunnelling support [VXLAN/GENEVE/GRE] 2017-04-25 11:49:32 -04:00
qed_mcp.c qed: Add a missing error code 2017-04-05 06:53:42 -07:00
qed_mcp.h qed: Utilize resource-lock based scheme 2017-03-28 18:05:24 -07:00
qed_ooo.c qed: Make OOO archipelagos into an array 2017-04-06 14:26:31 -07:00
qed_ooo.h qed: Make OOO archipelagos into an array 2017-04-06 14:26:31 -07:00
qed_ptp.c qed*: Add support for QL41xxx adapters 2017-03-14 11:43:30 -07:00
qed_ptp.h qed: Add infrastructure for PTP support 2017-02-15 12:42:52 -05:00
qed_reg_addr.h qed: aRFS infrastructure support 2017-04-17 13:06:18 -04:00
qed_roce.c qed: Revise QM cofiguration 2017-04-03 19:16:37 -07:00
qed_roce.h qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
qed_selftest.c qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_selftest.h qed: Add nvram selftest 2016-10-31 15:52:35 -04:00
qed_sp_commands.c qed - VF tunnelling support [VXLAN/GENEVE/GRE] 2017-04-25 11:49:32 -04:00
qed_sp.h qed: refactor tunnelling - API/Structs 2017-04-25 11:49:30 -04:00
qed_spq.c qed: Don't use main-ptt in unrelated flows 2017-04-06 14:26:31 -07:00
qed_sriov.c qed - VF tunnelling support [VXLAN/GENEVE/GRE] 2017-04-25 11:49:32 -04:00
qed_sriov.h qed/qede: Add UDP ports in bulletin board 2017-04-25 11:49:31 -04:00
qed_vf.c qed - VF tunnelling support [VXLAN/GENEVE/GRE] 2017-04-25 11:49:32 -04:00
qed_vf.h qed - VF tunnelling support [VXLAN/GENEVE/GRE] 2017-04-25 11:49:32 -04:00
qed.h qed - VF tunnelling support [VXLAN/GENEVE/GRE] 2017-04-25 11:49:32 -04:00