From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Sat, 10 Sep 2016 22:13:22 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (13): Use kmalloc_array() in receive_uuids() Delete an error message for a failed kmalloc_array() call Move an assignment in receive_uuids() Improve a size determination in drbd_do_features() Delete an unnecessary initialisation in receive_sizes() Improve a size determination in receive_sizes() Delete an error message for a failed kzalloc() call in receive_sizes() Move an assignment in receive_sizes() Improve determination of sizes in receive_SyncParam() Delete error messages for failed resource allocations in receive_SyncParam() Improve a size determination in receive_protocol() Delete error messages for failed resource allocations in receive_protocol() Improve determination of sizes in receive_Barrier() drivers/block/drbd/drbd_receiver.c | 45 ++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 26 deletions(-) -- 2.10.0 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html