[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <30938c84-20a7-0f13-bdda-a2d2109a6dac@users.sourceforge.net>
Date: Tue, 27 Sep 2016 18:44:06 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux-raid@...r.kernel.org, Shaohua Li <shli@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: [PATCH 00/16] md/bitmap: Fine-tuning for several function
implementations
From: Markus Elfring <elfring@...rs.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
Powered by blists - more mailing lists