Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dmaengine: dw-edma: Fix inconsistent indenting

Eliminate the follow smatch warning:

drivers/dma/dw-edma/dw-edma-v0-core.c:419 dw_edma_v0_core_start() warn:
inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220413023442.18856-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Jiapeng Chong and committed by
Vinod Koul
d4860224 8fc5133d

+10 -9
+10 -9
drivers/dma/dw-edma/dw-edma-v0-core.c
··· 414 414 SET_CH_32(dw, chan->dir, chan->id, ch_control1, 415 415 (DW_EDMA_V0_CCS | DW_EDMA_V0_LLE)); 416 416 /* Linked list */ 417 + 417 418 #ifdef CONFIG_64BIT 418 - /* llp is not aligned on 64bit -> keep 32bit accesses */ 419 - SET_CH_32(dw, chan->dir, chan->id, llp.lsb, 420 - lower_32_bits(chunk->ll_region.paddr)); 421 - SET_CH_32(dw, chan->dir, chan->id, llp.msb, 422 - upper_32_bits(chunk->ll_region.paddr)); 419 + /* llp is not aligned on 64bit -> keep 32bit accesses */ 420 + SET_CH_32(dw, chan->dir, chan->id, llp.lsb, 421 + lower_32_bits(chunk->ll_region.paddr)); 422 + SET_CH_32(dw, chan->dir, chan->id, llp.msb, 423 + upper_32_bits(chunk->ll_region.paddr)); 423 424 #else /* CONFIG_64BIT */ 424 - SET_CH_32(dw, chan->dir, chan->id, llp.lsb, 425 - lower_32_bits(chunk->ll_region.paddr)); 426 - SET_CH_32(dw, chan->dir, chan->id, llp.msb, 427 - upper_32_bits(chunk->ll_region.paddr)); 425 + SET_CH_32(dw, chan->dir, chan->id, llp.lsb, 426 + lower_32_bits(chunk->ll_region.paddr)); 427 + SET_CH_32(dw, chan->dir, chan->id, llp.msb, 428 + upper_32_bits(chunk->ll_region.paddr)); 428 429 #endif /* CONFIG_64BIT */ 429 430 } 430 431 /* Doorbell */