[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c332844d-d0d9-8443-b119-3943532c15d1@embeddedor.com>
Date: Thu, 3 Aug 2023 13:59:30 -0600
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: Michael Chan <michael.chan@...adcom.com>, Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com
Subject: Re: [PATCH net-next 1/2] eth: bnxt: fix one of the W=1 warnings about
fortified memcpy()
On 8/3/23 08:46, Michael Chan wrote:
>
> The way I plan to fix this is to change the auto-generated struct
> hwrm_queue_cos2bw_qcfg_output to have an array of substruct. I think
> that will look the cleanest. I'll post it later today or tomorrow.
Will that also fix the -Wstringop-overflow warning I mentioned in my
previous reply?
drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:133:17: warning: writing 12 bytes into a region of size 1 [-Wstringop-overflow=]
--
Gustavo
Powered by blists - more mailing lists