aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pmcraid.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2018-12-17 12:19:53 +0000
committerMartin K. Petersen <[email protected]>2018-12-19 03:52:14 +0000
commit8b2db98e814a5ec45e8800fc22ca9000ae0a517b (patch)
treea24993e213b00c79b4e7f145479686576bd7c2e7 /drivers/scsi/pmcraid.c
parentscsi: virtio_scsi: Remove per-target data because it is no longer used (diff)
downloadkernel-8b2db98e814a5ec45e8800fc22ca9000ae0a517b.tar.gz
kernel-8b2db98e814a5ec45e8800fc22ca9000ae0a517b.zip
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 <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions