2020-04-28 23:24:20

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the scsi-fixes tree

Hi all,

After merging the scsi-fixes tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/scsi/ibmvscsi/ibmvscsi.c: In function 'ibmvscsi_remove':
drivers/scsi/ibmvscsi/ibmvscsi.c:2323:16: warning: unused variable 'flags' [-Wunused-variable]
2323 | unsigned long flags;
| ^~~~~

Introduced by commit

5b77d181bee1 ("scsi: ibmvscsi: Fix WARN_ON during event pool release")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2020-04-29 00:30:43

by Tyrel Datwyler

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the scsi-fixes tree

On 4/28/20 4:21 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the scsi-fixes tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> drivers/scsi/ibmvscsi/ibmvscsi.c: In function 'ibmvscsi_remove':
> drivers/scsi/ibmvscsi/ibmvscsi.c:2323:16: warning: unused variable 'flags' [-Wunused-variable]
> 2323 | unsigned long flags;
> | ^~~~~
>
> Introduced by commit
>
> 5b77d181bee1 ("scsi: ibmvscsi: Fix WARN_ON during event pool release")
>

Crud, artifact from removing the spinlock.

Martin,

Do you want me to resend, or can you fixup your tree?

-Tyrel

2020-04-29 03:03:02

by Martin K. Petersen

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the scsi-fixes tree


Tyrel,

> Do you want me to resend, or can you fixup your tree?

I fixed it up.

--
Martin K. Petersen Oracle Linux Engineering