]> git.proxmox.com Git - mirror_zfs.git/commit
Cleanup: Remove unnecessary explicit casts of pointers from allocators
authorRichard Yao <richard.yao@alumni.stonybrook.edu>
Tue, 10 Jan 2023 19:03:46 +0000 (14:03 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 12 Jan 2023 23:59:12 +0000 (15:59 -0800)
commit7384ec65cd6b44511f0cdf54768bfe583ce14a27
tree667c1fb0bda71cbda4687e1a448cfba3b20c1537
parent80d64bb85fcfb07b9fb57ed75bf6356239632ba2
Cleanup: Remove unnecessary explicit casts of pointers from allocators

The Linux 5.16.14 kernel's coccicheck caught these. The semantic patch
that caught them was:

./scripts/coccinelle/api/alloc/alloc_cast.cocci

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #14372
module/icp/algs/aes/aes_impl.c
module/icp/algs/modes/gcm.c
module/icp/api/kcf_ctxops.c
module/os/freebsd/spl/callb.c
module/os/linux/spl/spl-kmem-cache.c
module/zfs/zfs_chksum.c
module/zfs/zfs_vnops.c
module/zfs/zvol.c
module/zstd/zfs_zstd.c