Skip to contentSkip to conversation

linux-next: build warning after merge of the scsi-fixes tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Apr 28, 2020 – Apr 29, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi all,

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

Quoted 9 lines

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

#2 lore raw

Tyrel,

Quoted 1 line

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

I fixed it up.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering