]> git.proxmox.com Git - mirror_zfs.git/commit
Don't directly cast unsigned long to void*
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 25 Jul 2019 18:59:20 +0000 (03:59 +0900)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 25 Jul 2019 18:59:20 +0000 (11:59 -0700)
commitd274ac54609894d00a49c0a0da89abd3a7f3998d
tree5e487a50f7f0d0d34aaff753a2760e8c852fdbcb
parent1ff46825e232b3ad3414f60fab8dcba8ed17d778
Don't directly cast unsigned long to void*

Cast to uintptr_t first for portability on integer to/from pointer
conversion.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #9065
module/zfs/zfs_ioctl.c