* [PATCH] staging: rts5208: Fix checkpath warning
@ 2019-08-31 7:32 P SAI PRASANTH
2019-09-03 7:34 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: P SAI PRASANTH @ 2019-08-31 7:32 UTC (permalink / raw)
To: gregkh, sabrina-gaube, qader.aymen, tobias.niessen, kim.jamie.bradley
Cc: devel, linux-kernel
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);
Signed-off-by: P SAI PRASANTH <saip2823@gmail.com>
---
drivers/staging/rts5208/xd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c
index f3dc96a..e62eee3 100644
--- a/drivers/staging/rts5208/xd.c
+++ b/drivers/staging/rts5208/xd.c
@@ -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);
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: rts5208: Fix checkpath warning
2019-08-31 7:32 [PATCH] staging: rts5208: Fix checkpath warning P SAI PRASANTH
@ 2019-09-03 7:34 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2019-09-03 7:34 UTC (permalink / raw)
To: P SAI PRASANTH
Cc: sabrina-gaube, qader.aymen, tobias.niessen, kim.jamie.bradley,
devel, linux-kernel
On Sat, Aug 31, 2019 at 01:02:24PM +0530, P SAI PRASANTH wrote:
> 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);
>
> Signed-off-by: P SAI PRASANTH <saip2823@gmail.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] staging: rts5208: Fix checkpath warning
@ 2019-08-30 7:12 P SAI PRASANTH
0 siblings, 0 replies; 3+ messages in thread
From: P SAI PRASANTH @ 2019-08-30 7:12 UTC (permalink / raw)
To: gregkh, kim.jamie.bradley; +Cc: devel, linux-kernel
This patch fixes the following checkpath warning in the file drivers/staging/rts5208/rtsx_transport.c:546
WARNING: line over 80 characters
+ option = RTSX_SG_VALID | RTSX_SG_END |
RTSX_SG_TRANS_DATA;
Signed-off-by: P SAI PRASANTH <saip2823@gmail.com>
---
drivers/staging/rts5208/rtsx_transport.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rts5208/rtsx_transport.c b/drivers/staging/rts5208/rtsx_transport.c
index 8277d78..495fa60 100644
--- a/drivers/staging/rts5208/rtsx_transport.c
+++ b/drivers/staging/rts5208/rtsx_transport.c
@@ -542,7 +542,8 @@ static int rtsx_transfer_sglist_adma(struct rtsx_chip *chip, u8 card,
(unsigned int)addr, len);
if (j == (sg_cnt - 1))
- option = RTSX_SG_VALID | RTSX_SG_END | RTSX_SG_TRANS_DATA;
+ option = RTSX_SG_VALID | RTSX_SG_END |
+ RTSX_SG_TRANS_DATA;
else
option = RTSX_SG_VALID | RTSX_SG_TRANS_DATA;
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-03 7:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-31 7:32 [PATCH] staging: rts5208: Fix checkpath warning P SAI PRASANTH
2019-09-03 7:34 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2019-08-30 7:12 P SAI PRASANTH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).