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

From: Stephen Rothwell
Date: Tue Aug 10 2021 - 02:29:18 EST


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: pgpVmc7PeNGEJ.pgp
Description: OpenPGP digital signature