lkml.org 
[lkml]   [2016]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 16/16] md/bitmap: Delete an unwanted space in read_sb_page()
    From
    Date
    From: Markus Elfring <elfring@users.sourceforge.net>
    Date: Tue, 27 Sep 2016 18:18:16 +0200

    The script "checkpatch.pl" can point information out like the following.

    ERROR: space prohibited after that '!' (ctx:BxW)

    Thus fix the affected source code place.

    Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
    ---
    drivers/md/bitmap.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c
    index d029576..c6a6d59 100644
    --- a/drivers/md/bitmap.c
    +++ b/drivers/md/bitmap.c
    @@ -154,7 +154,7 @@ static int read_sb_page(struct mddev *mddev, loff_t offset,
    sector_t target;

    rdev_for_each(rdev, mddev) {
    - if (! test_bit(In_sync, &rdev->flags)
    + if (!test_bit(In_sync, &rdev->flags)
    || test_bit(Faulty, &rdev->flags))
    continue;

    --
    2.10.0
    \
     
     \ /
      Last update: 2016-09-27 19:04    [W:4.029 / U:0.244 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site