]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blobdiff - net/can/canethgw.c
Use the same type for returned variable
[can-eth-gw-linux.git] / net / can / canethgw.c
index ff88f3c383a2f801ce9f6d573b218b3117c8b6b0..e1e9bd2874c506c5c7e5d9a76d73c6da0c3f0cff 100644 (file)
@@ -309,7 +309,7 @@ static long cegw_ioctl_start(struct file *file, unsigned long arg)
 
 static long cegw_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 {
-       int err;
+       long err;
 
        switch (cmd) {
                case CEGW_IOCTL_START: