Re: [PATCH 0/5] target: Fine-tuning for some function implementations
From: Nicholas A. Bellinger
Date: Mon May 01 2017 - 23:37:30 EST
Hi Markus,
Apologies for the delayed follow-up here as well.
On Sun, 2017-04-09 at 21:43 +0200, SF Markus Elfring wrote:
> 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(-)
>
Applied.
Thank you.