spi: clean up some inconsistent indenting
Subsystems (2)
PATCH 1/1 spi: clean up some inconsistent indenting
Eliminate the follow smatch warning:drivers/spi/spi-sunplus-sp7021.c:379 sp7021_spi_slave_transfer_one()
warn: inconsistent indenting
--- drivers/spi/spi-sunplus-sp7021.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/spi/spi-sunplus-sp7021.c +2 -2
@@ -376,8 +376,8 @@ static int sp7021_spi_slave_transfer_one(struct spi_controller *ctlr, struct spi xfer->len, DMA_TO_DEVICE);if (dma_mapping_error (dev, xfer->tx_dma))return -ENOMEM ; - ret =sp7021_spi_slave_tx (spi, xfer); -dma_unmap_single (dev, xfer->tx_dma, xfer->len,DMA_TO_DEVICE ); + ret =sp7021_spi_slave_tx (spi, xfer); +dma_unmap_single (dev, xfer->tx_dma, xfer->len,DMA_TO_DEVICE ); }else if (xfer->rx_buf && !xfer->tx_buf) { xfer->rx_dma =dma_map_single (dev, xfer->rx_buf, xfer->len,DMA_FROM_DEVICE );
Signature · 1 line
2.20.1.7.g153144c
Mark Brown
maintainerQuoted 5 lines · Yang Li
Eliminate the follow smatch warning:
drivers/spi/spi-sunplus-sp7021.c:379sp7021_spi_slave_transfer_one()
warn: inconsistent indenting
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: clean up some inconsistent indenting
commit: 07025ceaac9f4f7a9e1a3285c3216469bf066320
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark