linux_dsm_epyc7002/drivers/net/ethernet/qlogic/qed
Denis Bolotin c7d852e301 qed: Fix copying 2 strings
The strscpy() was a recent fix (net: qed: use correct strncpy() size) to
prevent passing the length of the source buffer to strncpy() and guarantee
null termination.
It misses the goal of overwriting only the first 3 characters in
"???_BIG_RAM" and "???_RAM" while keeping the rest of the string.
Use strncpy() with the length of 3, without null termination.

Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-04-24 13:59:42 -04:00
..
Makefile
qed_cxt.c qed: Free RoCE ILT Memory on rmmod qedr 2018-03-07 12:17:31 -05:00
qed_cxt.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_dcbx.c qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_dcbx.h
qed_debug.c qed: Fix copying 2 strings 2018-04-24 13:59:42 -04:00
qed_debug.h
qed_dev_api.h
qed_dev.c qed: Populate nvm image attribute shadow. 2018-03-29 14:29:55 -04:00
qed_fcoe.c
qed_fcoe.h
qed_hsi.h qed: Add APIs for flash access. 2018-03-29 14:29:55 -04:00
qed_hw.c qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_hw.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_init_fw_funcs.c qed*: Utilize FW 8.33.11.0 2018-03-29 14:18:02 -04:00
qed_init_ops.c qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_init_ops.h
qed_int.c treewide: Fix typos in printk 2018-03-27 09:51:22 +02:00
qed_int.h
qed_iscsi.c qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_iscsi.h
qed_iwarp.c qed*: Utilize FW 8.33.11.0 2018-03-29 14:18:02 -04:00
qed_iwarp.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_l2.c qed* : Add new TLV to request PF to update MAC in bulletin board 2018-04-20 11:26:37 -04:00
qed_l2.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_ll2.c qed*: Utilize FW 8.33.11.0 2018-03-29 14:18:02 -04:00
qed_ll2.h
qed_main.c qed: Delete unused parameter p_ptt from mcp APIs 2018-04-23 12:05:57 -04:00
qed_mcp.c qed: Add configuration information to register dump and debug data 2018-04-23 12:05:57 -04:00
qed_mcp.h qed: Add configuration information to register dump and debug data 2018-04-23 12:05:57 -04:00
qed_ooo.c
qed_ooo.h
qed_ptp.c
qed_rdma.c qed: Use after free in qed_rdma_free() 2018-03-13 10:54:17 -04:00
qed_rdma.h
qed_reg_addr.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_roce.c
qed_roce.h
qed_selftest.c qed: Fix PTT entry leak in the selftest error flow. 2018-03-29 14:29:55 -04:00
qed_selftest.h
qed_sp_commands.c qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_sp.h
qed_spq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-01-31 14:31:10 -08:00
qed_sriov.c qed* : Add new TLV to request PF to update MAC in bulletin board 2018-04-20 11:26:37 -04:00
qed_sriov.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_vf.c qed* : Add new TLV to request PF to update MAC in bulletin board 2018-04-20 11:26:37 -04:00
qed_vf.h qed* : Add new TLV to request PF to update MAC in bulletin board 2018-04-20 11:26:37 -04:00
qed.h qed: Add APIs for flash access. 2018-03-29 14:29:55 -04:00