[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq17c55wo3y.fsf@ca-mkp.ca.oracle.com>
Date: Mon, 03 Mar 2025 21:01:37 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Arnd Bergmann <arnd@...nel.org>
Cc: "James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
"Martin
K. Petersen" <martin.petersen@...cle.com>,
John Meneghini
<jmeneghi@...hat.com>,
Kai Mäkisara
<Kai.Makisara@...umbus.fi>,
Arnd
Bergmann <arnd@...db.de>, Bart Van Assche <bvanassche@....org>,
John
Garry <john.g.garry@...cle.com>, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [v2] scsi: scsi_debug: fix uninitialized variable use
Arnd,
> It appears that a typo has made it into the newly added code
>
> drivers/scsi/scsi_debug.c:3035:3: error: variable 'len' is uninitialized when used here [-Werror,-Wuninitialized]
> 3035 | len += resp_compression_m_pg(ap, pcontrol, target, devip->tape_dce);
> | ^~~
>
> Replace the '+=' with the intended '=' here.
Applied to 6.15/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists