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

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

 



Hi all,

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

/home/sfr/next/next/drivers/spi/spi-mxic.c: In function 'mxic_spi_mem_exec_op':
/home/sfr/next/next/drivers/spi/spi-mxic.c:401:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  401 |   if (op->data.dir == SPI_MEM_DATA_IN)
      |   ^~
/home/sfr/next/next/drivers/spi/spi-mxic.c:403:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  403 |    if (op->data.dtr)
      |    ^~

Introduced by commit

  d05aaa66ba3c ("spi: mxic: patch for octal DTR mode support")

-- 
Cheers,
Stephen Rothwell

Attachment: pgpRnHqW2reIr.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux