Skip to content

target: Fine-tuning for some function implementations

SF Markus Elfring kernel-janitors linux-scsi lkml 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5target: Use kcalloc() in two functionsdrivers/target/target_core_rd.c+2 -40 replies
2/5target: Delete error messages for failed memory allocationsdrivers/target/target_core_rd.c+5 -180 replies
3/5target: Improve size determinations in two functionsdrivers/target/target_core_rd.c+2 -20 replies
4/5target: Use kmalloc_array() in compare_and_write_callback()drivers/target/target_core_sbc.c+2 -20 replies
5/5target: Use kmalloc_array() in transport_kmap_data_sg()drivers/target/target_core_transport.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Markus Elfring <[email protected]>
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(-)
Signature · 1 line
2.12.2