]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: rts5208: rtsx_transport.c: Add spaces around -
authorShaun Ren <shaun.ren@linux.com>
Mon, 15 Feb 2016 18:58:50 +0000 (10:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 23:35:42 +0000 (15:35 -0800)
This patch fixes the following styling issue in rtsx_transport.c
as reported by checkpatch.pl:

CHECK: spaces preferred around that '-' (ctx:VxV)

Signed-off-by: Shaun Ren <shaun.ren@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_transport.c

index 54e2027ec64e7eafb4562db7c2ca4b1c63ff8433..6d2420f2ec29adf20ede838a4c5ae4424a38792c 100644 (file)
@@ -86,8 +86,8 @@ unsigned int rtsx_stor_access_xfer_buf(unsigned char *buffer,
                while (cnt < buflen && *index < scsi_sg_count(srb)) {
                        struct page *page = sg_page(sg) +
                                        ((sg->offset + *offset) >> PAGE_SHIFT);
-                       unsigned int poff =
-                                       (sg->offset + *offset) & (PAGE_SIZE-1);
+                       unsigned int poff = (sg->offset + *offset) &
+                                           (PAGE_SIZE - 1);
                        unsigned int sglen = sg->length - *offset;
 
                        if (sglen > buflen - cnt) {