[PATCH 0/5] target: Fine-tuning for some function implementations

From: SF Markus Elfring
Date: Sun Apr 09 2017 - 15:44:22 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 9 Apr 2017 21:33:21 +0200

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

Markus Elfring (5):
rd: Use kcalloc() in two functions
rd: Delete error messages for failed memory allocations
rd: Improve size determinations in two functions
sbc: Use kmalloc_array() in compare_and_write_callback()
transport: Use kmalloc_array() in transport_kmap_data_sg()

drivers/target/target_core_rd.c | 33 +++++++++------------------------
drivers/target/target_core_sbc.c | 4 ++--
drivers/target/target_core_transport.c | 2 +-
3 files changed, 12 insertions(+), 27 deletions(-)

--
2.12.2