aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/block
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2020-06-05 10:59:34 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2020-06-09 21:57:27 -0400
commitf47c24033a1ac3a08e745f50a28c3dd2c5cceda2 (patch)
tree33d311d169a6096aadae23f331f16526ab432738 /block
parentscsi: cxlflash: Remove an unnecessary NULL check (diff)
downloadwireguard-linux-f47c24033a1ac3a08e745f50a28c3dd2c5cceda2.tar.xz
wireguard-linux-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/20200605075934.8403-1-efremov@linux.com Fixes: 56fb10585934 ("scsi: storvsc: Add the support of hibernation") Suggested-by: Dexuan Cui <decui@microsoft.com> Reviewed-by: Dexuan Cui <decui@microsoft.com> Signed-off-by: Denis Efremov <efremov@linux.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions