diff options
| author | Wei Yongjun <[email protected]> | 2018-12-17 12:19:53 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-12-19 03:52:14 +0000 |
| commit | 8b2db98e814a5ec45e8800fc22ca9000ae0a517b (patch) | |
| tree | a24993e213b00c79b4e7f145479686576bd7c2e7 /drivers/scsi/pmcraid.c | |
| parent | scsi: virtio_scsi: Remove per-target data because it is no longer used (diff) | |
| download | kernel-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
