+2
−2
Loading
cuse defines the ioctl handler to take an int for the command, but the kernel uses unsigned int. So cast the int parameter to unsigned int when doing the switch. Fixes issue #1613. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I7ef13afc755ee79d8a79b3c7a09dccee7bb7aa1c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4716 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>