[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87woi0mgrl.fsf@concordia.ellerman.id.au>
Date: Wed, 05 Jun 2019 21:08:14 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: "Martin K. Petersen" <martin.petersen@...cle.com>,
Nathan Chancellor <natechancellor@...il.com>
Cc: Tyrel Datwyler <tyreld@...ux.ibm.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, clang-built-linux@...glegroups.com
Subject: Re: [PATCH v3] scsi: ibmvscsi: Don't use rc uninitialized in ibmvscsi_do_work
"Martin K. Petersen" <martin.petersen@...cle.com> writes:
> Nathan,
>
>> clang warns:
>>
>> drivers/scsi/ibmvscsi/ibmvscsi.c:2126:7: warning: variable 'rc' is used
>> uninitialized whenever switch case is taken [-Wsometimes-uninitialized]
>> case IBMVSCSI_HOST_ACTION_NONE:
>> ^~~~~~~~~~~~~~~~~~~~~~~~~
>
> Applied to 5.3/scsi-queue, thanks!
Thanks all.
cheers
Powered by blists - more mailing lists