From: Markus Elfring <[email protected]>
Date: Sat, 7 Jan 2017 18:54:25 +0100

The script "checkpatch.pl" pointed information out like the following.

ERROR: space prohibited before that ',' (ctx:WxW)

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <[email protected]>
---
 drivers/memstick/core/ms_block.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c
index ec17885a5956..526e671a3435 100644
--- a/drivers/memstick/core/ms_block.c
+++ b/drivers/memstick/core/ms_block.c
@@ -194,7 +194,8 @@ static void msb_mark_block_unused(struct msb_data *msb, int 
pba)
        int zone = msb_get_zone_from_pba(pba);
 
        if (!test_bit(pba, msb->used_blocks_bitmap)) {
-               pr_err("BUG: attempt to mark already unused pba %d as unused" , 
pba);
+               pr_err("BUG: attempt to mark already unused pba %d as unused",
+                      pba);
                msb->read_only = true;
                return;
        }
@@ -1551,7 +1552,7 @@ static int msb_cache_flush(struct msb_data *msb)
        dbg_verbose("Flushing the write cache of pba %d (LBA %d)",
                                                pba, msb->cache_block_lba);
 
-       sg_init_one(&sg, msb->cache , msb->block_size);
+       sg_init_one(&sg, msb->cache, msb->block_size);
 
        /* Read all missing pages in cache */
        for (page = 0; page < msb->pages_in_block; page++) {
@@ -1597,7 +1598,9 @@ static int msb_cache_flush(struct msb_data *msb)
                        dbg("marking page %d as containing damaged data",
                                page);
                        msb_set_overwrite_flag(msb,
-                               pba , page, 0xFF & ~MEMSTICK_OV_PG_NORMAL);
+                                              pba,
+                                              page,
+                                              0xFF & ~MEMSTICK_OV_PG_NORMAL);
                }
        }
 
-- 
2.11.0

Reply via email to