Commit b5108585 authored by Jan Kiszka's avatar Jan Kiszka

drivers: spi: Fix compiler warning

Addresses "warning: cast from pointer to integer of different size".
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent 2cc2f54b
Pipeline #5845 passed with stage
in 22 minutes and 31 seconds
......@@ -181,7 +181,7 @@ static int spi_master_ioctl_rt(struct rtdm_fd *fd,
ret = -EINVAL;
if (master->ops->transfer_iobufs_n) {
len = (int)arg;
len = (long)arg;
ret = do_chip_select(slave);
if (ret == 0) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment