Skip to contentSkip to conversation

Staging: rts5208: Reduce line lengths to < 80 chars

PATCH New Kim Bradley 1 participant 1 message Oct 25, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rts5208: Reduce line lengths to < 80 chars

Reduce as many line lengths as possible to < 80 chars in order to fix checkpatch warnings. Some lines not feasible to reduce.

---
 drivers/staging/rts5208/xd.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
drivers/staging/rts5208/xd.c +10 -5
index 1187c75d764a..c8b78cc9eade 100644
@@ -1155,10 +1155,14 @@ static int xd_copy_page(struct rtsx_chip *chip, u32 old_blk, u32 new_blk,
 					return STATUS_FAIL;
 				}
 
-				if (((reg & (XD_ECC1_ERROR | XD_ECC1_UNCORRECTABLE)) ==
-						(XD_ECC1_ERROR | XD_ECC1_UNCORRECTABLE)) ||
-					((reg & (XD_ECC2_ERROR | XD_ECC2_UNCORRECTABLE)) ==
-						(XD_ECC2_ERROR | XD_ECC2_UNCORRECTABLE))) {
+				if (((reg & (XD_ECC1_ERROR |
+					     XD_ECC1_UNCORRECTABLE)) ==
+					    (XD_ECC1_ERROR |
+					     XD_ECC1_UNCORRECTABLE)) ||
+				    ((reg & (XD_ECC2_ERROR |
+					     XD_ECC2_UNCORRECTABLE)) ==
+					    (XD_ECC2_ERROR |
+					     XD_ECC2_UNCORRECTABLE))) {
 					rtsx_write_register(chip,
 							    XD_PAGE_STATUS,
 							    0xFF,
@@ -1751,7 +1755,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.19.1