Skip to contentSkip to conversation

staging: rts5208: Fix checkpath warning

PATCH In review P SAI PRASANTH 2 participants 2 messages Aug 31, 2019 – Sep 3, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rts5208: Fix checkpath warning

This patch fixes the following checkpath warning
in file drivers/staging/rts5208/xd.c:1754

WARNING: line over 80 characters
+ index, offset, DMA_TO_DEVICE,
chip->xd_timeout);

---
 drivers/staging/rts5208/xd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rts5208/xd.c +2 -1
index f3dc96a..e62eee3 100644
@@ -1751,7 +1751,8 @@ static int xd_write_multiple_pages(struct rtsx_chip *chip, u32 old_blk,
 
 	retval = rtsx_transfer_data_partial(chip, XD_CARD, buf, page_cnt * 512,
 					    scsi_sg_count(chip->srb),
-					    index, offset, DMA_TO_DEVICE, chip->xd_timeout);
+					    index, offset,
+					    DMA_TO_DEVICE, chip->xd_timeout);
 	if (retval < 0) {
 		rtsx_clear_xd_error(chip);
 
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 11 lines · P SAI PRASANTH

This patch fixes the following checkpath warning
in file drivers/staging/rts5208/xd.c:1754

WARNING: line over 80 characters
+ index, offset, DMA_TO_DEVICE,
chip->xd_timeout);

---
 drivers/staging/rts5208/xd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

This had the same subject line as your previous patch, but did different things. Please make the subjects unique.

thanks,

greg k-h