[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240105043132.GA23716@lst.de>
Date: Fri, 5 Jan 2024 05:31:32 +0100
From: Christoph Hellwig <hch@....de>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Christoph Hellwig <hch@....de>, Sagi Grimberg <sagi@...mberg.me>,
Chaitanya Kulkarni <kch@...dia.com>,
Keith Busch <kbusch@...nel.org>, Arnd Bergmann <arnd@...db.de>,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] nvme: trace: avoid memcpy overflow warning
On Wed, Jan 03, 2024 at 04:56:56PM +0100, Arnd Bergmann wrote:
> - memcpy(__entry->cdw10, &cmd->common.cdw10,
> - sizeof(__entry->cdw10));
> + memcpy(__entry->cdw10, &cmd->common.cdws, sizeof(__entry->cdw10));
Please avoid the overly long line.
Powered by blists - more mailing lists