aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_configfs.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2019-06-16 09:02:20 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2019-06-20 15:37:02 -0400
commit22c2f35f49d474fa093b227253941980886d7b1b (patch)
treef15827c05ade32e5674a1f7edf135fad7c223454 /drivers/target/target_core_configfs.c
parentscsi: storvsc: Add ability to change scsi queue depth (diff)
downloadlinux-dev-22c2f35f49d474fa093b227253941980886d7b1b.tar.xz
linux-dev-22c2f35f49d474fa093b227253941980886d7b1b.zip
scsi: tcmu: Simplify tcmu_update_uio_info()
Use 'kasprintf()' instead of: - snprintf(NULL, 0... - kmalloc(... - snprintf(... This is less verbose and saves 7 bytes (i.e. the space for '/(null)') if 'udev->dev_config' is NULL. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/target_core_configfs.c')
0 files changed, 0 insertions, 0 deletions