lkml.org 
[lkml]   [2017]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] target: Fine-tuning for some function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
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

\
 
 \ /
  Last update: 2017-04-09 21:44    [W:0.909 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site