lkml.org 
[lkml]   [2016]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Subject[PATCH 00/16] md/bitmap: Fine-tuning for several function implementations
    From
    Date
    From: Markus Elfring <elfring@users.sourceforge.net>
    Date: Tue, 27 Sep 2016 18:29:08 +0200

    Several update suggestions were taken into account
    from static source code analysis.

    Markus Elfring (16):
    Use kmalloc_array() in bitmap_storage_alloc()
    Move an assignment for the variable "offset" in bitmap_storage_alloc()
    Delete an unnecessary variable initialisation in bitmap_storage_alloc()
    Improve another size determination in bitmap_storage_alloc()
    Return directly after a failed bitmap_storage_alloc() in bitmap_resize()
    Return directly after a failed kzalloc() in bitmap_resize()
    Replace a kzalloc() call by kcalloc() in bitmap_resize()
    Rename a jump label in location_store()
    Rename a jump label in bitmap_copy_from_slot()
    Rename a jump label in bitmap_create()
    Rename a jump label in bitmap_init_from_disk()
    One check less in read_page() at the end
    Adjust checks for null pointers in 11 functions
    Delete unnecessary braces in bitmap_resize()
    Add spaces around three comparison operators
    Delete an unwanted space in read_sb_page()

    drivers/md/bitmap.c | 110 +++++++++++++++++++++++++---------------------------
    1 file changed, 52 insertions(+), 58 deletions(-)

    --
    2.10.0

    \
     
     \ /
      Last update: 2016-09-27 18:44    [W:4.326 / U:1.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site