Re: [PATCH] scsi: qla2xxx: Fix set-but-not-used variable warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 31 Oct 2022 15:48:18 -0700, Bart Van Assche wrote:

> Fix the following two compiler warnings:
> 
> drivers/scsi/qla2xxx/qla_init.c: In function ‘qla24xx_async_abort_cmd’:
> drivers/scsi/qla2xxx/qla_init.c:171:17: warning: variable ‘bail’ set but not used [-Wunused-but-set-variable]
>   171 |         uint8_t bail;
>       |                 ^~~~
> drivers/scsi/qla2xxx/qla_init.c: In function ‘qla2x00_async_tm_cmd’:
> drivers/scsi/qla2xxx/qla_init.c:2023:17: warning: variable ‘bail’ set but not used [-Wunused-but-set-variable]
>  2023 |         uint8_t bail;
>       |                 ^~~~
> 
> [...]

Applied to 6.2/scsi-queue, thanks!

[1/1] scsi: qla2xxx: Fix set-but-not-used variable warnings
      https://git.kernel.org/mkp/scsi/c/4fb2169d66b8

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux