diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-12-17 15:19:53 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-19 06:52:14 +0300 |
commit | 8b2db98e814a5ec45e8800fc22ca9000ae0a517b (patch) | |
tree | a24993e213b00c79b4e7f145479686576bd7c2e7 /drivers/scsi/script_asm.pl | |
parent | c29d7d10cd1ed04eb2fa6baef8af65f1fded6ea6 (diff) | |
download | linux-8b2db98e814a5ec45e8800fc22ca9000ae0a517b.tar.xz |
scsi: target/core: Use kmem_cache_free() instead of kfree()
memory allocated by kmem_cache_alloc() should be freed using
kmem_cache_free(), not kfree().
Fixes: ad669505c4e9 ("scsi: target/core: Make sure that target_wait_for_sess_cmds() waits long enough")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/script_asm.pl')
0 files changed, 0 insertions, 0 deletions