summaryrefslogtreecommitdiff
path: root/drivers/scsi/esp_scsi.h
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-12-17 12:19:53 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-18 22:52:14 -0500
commit8b2db98e814a5ec45e8800fc22ca9000ae0a517b (patch)
treea24993e213b00c79b4e7f145479686576bd7c2e7 /drivers/scsi/esp_scsi.h
parentc29d7d10cd1ed04eb2fa6baef8af65f1fded6ea6 (diff)
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/esp_scsi.h')
0 files changed, 0 insertions, 0 deletions