[PATCH] mempool: use common mempool kmalloc allocator
[firefly-linux-kernel-4.4.55.git] / drivers / ieee1394 / video1394.c
index 608479b2df1405ee87567765992bef1f15a4faf8..216dbbf1dc8ec8114e4f453c975d9675f6740697 100644 (file)
@@ -48,7 +48,6 @@
 #include <linux/vmalloc.h>
 #include <linux/timex.h>
 #include <linux/mm.h>
-#include <linux/ioctl32.h>
 #include <linux/compat.h>
 #include <linux/cdev.h>
 
@@ -745,7 +744,7 @@ static int __video1394_ioctl(struct file *file,
                        if (i == ISO_CHANNELS) {
                            PRINT(KERN_ERR, ohci->host->id, 
                                  "No free channel found");
-                           return EAGAIN;
+                           return -EAGAIN;
                        }
                        if (!(ohci->ISO_channel_usage & mask)) {
                            v.channel = i;