Skip to contentSkip to conversation

linux-next: build warning after merge of the spi tree

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

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the spi tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/spi/spi-amd.c: In function 'amd_spi_fifo_xfer':
drivers/spi/spi-amd.c:171:17: warning: unused variable 'opcode' [-Wunused-variable]

  171 |  u8 cmd_opcode, opcode = 0;
      |                 ^~~~~~

Introduced by commit

bbb336f39efc ("spi: spi-amd: Add AMD SPI controller driver support")

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

Hi Stephen,

I have just sent a fixup patch for this. Could it still reach 5.8?

Thanks & regards
Sanjay Mehta

Quoted 2 lines · Stephen Rothwell

[CAUTION: External Email]

maintainer
#2 lore raw
Quoted 3 lines · Sanjay R Mehta

Hi Stephen,

I have just sent a fixup patch for this. Could it still reach 5.8?

Yes, it'll be fine - thanks for sending the fix.

Please don't top post, reply in line with needed context. This allows readers to readily follow the flow of conversation and understand what you are talking about and also helps ensure that everything in the discussion is being addressed.