]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
Use the same type for returned variable
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 13:50:14 +0000 (14:50 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 13:50:14 +0000 (14:50 +0100)
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: