aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/zfs/vdev_disk.c
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2023-01-10 14:06:53 -0500
committerBrian Behlendorf <[email protected]>2023-01-12 15:59:28 -0800
commitc9c3ce79765d2f3c2714281f19dcaf711a090ac2 (patch)
treef6d57c7b864d5389a9aa06249724536010fe0122 /module/os/linux/zfs/vdev_disk.c
parent7384ec65cd6b44511f0cdf54768bfe583ce14a27 (diff)
Cleanup: Use kmem_zalloc() instead of memset() to zero memory
The Linux 5.16.14 kernel's coccicheck caught this. The semantic patch that caught it was: ./scripts/coccinelle/api/alloc/zalloc-simple.cocci Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Richard Yao <[email protected]> Closes #14372
Diffstat (limited to 'module/os/linux/zfs/vdev_disk.c')
0 files changed, 0 insertions, 0 deletions