diff options
| author | Denis Efremov <[email protected]> | 2020-06-05 07:59:34 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-06-10 01:57:27 +0000 |
| commit | f47c24033a1ac3a08e745f50a28c3dd2c5cceda2 (patch) | |
| tree | 33d311d169a6096aadae23f331f16526ab432738 /net/tipc | |
| parent | scsi: cxlflash: Remove an unnecessary NULL check (diff) | |
| download | kernel-f47c24033a1ac3a08e745f50a28c3dd2c5cceda2.tar.gz kernel-f47c24033a1ac3a08e745f50a28c3dd2c5cceda2.zip | |
scsi: storvsc: Remove memset before memory freeing in storvsc_suspend()
Remove memset with 0 for stor_device->stor_chns in storvsc_suspend() before
the call to kfree() as the memory contains no sensitive information.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 56fb10585934 ("scsi: storvsc: Add the support of hibernation")
Suggested-by: Dexuan Cui <[email protected]>
Reviewed-by: Dexuan Cui <[email protected]>
Signed-off-by: Denis Efremov <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions
