Re: [PATCH net-next] bnxt_en: Fix strcpy() warnings in bnxt_ethtool.c

2018-08-10 Thread Michael Chan
On Fri, Aug 10, 2018 at 2:37 PM, David Miller wrote: > From: David Miller > Date: Fri, 10 Aug 2018 14:35:45 -0700 (PDT) > >> From: Michael Chan >> Date: Fri, 10 Aug 2018 17:02:12 -0400 >> >>> From: Vasundhara Volam >>> >>> This patch fixes following smatch warnings: >>> >>>

Re: [PATCH net-next] bnxt_en: Fix strcpy() warnings in bnxt_ethtool.c

2018-08-10 Thread David Miller
From: David Miller Date: Fri, 10 Aug 2018 14:35:45 -0700 (PDT) > From: Michael Chan > Date: Fri, 10 Aug 2018 17:02:12 -0400 > >> From: Vasundhara Volam >> >> This patch fixes following smatch warnings: >> >> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:2826 >>

Re: [PATCH net-next] bnxt_en: Fix strcpy() warnings in bnxt_ethtool.c

2018-08-10 Thread David Miller
From: Michael Chan Date: Fri, 10 Aug 2018 17:02:12 -0400 > From: Vasundhara Volam > > This patch fixes following smatch warnings: > > drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:2826 > bnxt_fill_coredump_seg_hdr() error: strcpy() '"sEgM"' too large for > 'seg_hdr->signature' (5 vs 4)

[PATCH net-next] bnxt_en: Fix strcpy() warnings in bnxt_ethtool.c

2018-08-10 Thread Michael Chan
From: Vasundhara Volam This patch fixes following smatch warnings: drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:2826 bnxt_fill_coredump_seg_hdr() error: strcpy() '"sEgM"' too large for 'seg_hdr->signature' (5 vs 4) drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:2858