diff options
author | Himanshu Jha <himanshujha199640@gmail.com> | 2017-10-11 17:36:14 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-11-07 04:58:02 +0100 |
commit | d38c9a803b42d19d125aff586dfaac77b5702d05 (patch) | |
tree | bfab3a8866099e7af1159f0ee9f6f36a7c2a3db6 /drivers/tc | |
parent | scsi: storvsc: Avoid excessive host scan on controller change (diff) | |
download | linux-d38c9a803b42d19d125aff586dfaac77b5702d05.tar.xz linux-d38c9a803b42d19d125aff586dfaac77b5702d05.zip |
scsi: be2iscsi: Use kasprintf
Use kasprintf instead of combination of kmalloc and sprintf. Also,
remove BEISCSI_MSI_NAME macro used to specify size of string as
kasprintf handles size computations.
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Reviewed-by: Kyle Fortin <kyle.fortin@oracle.com>
Reviewed-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions