From: David S. Miller Date: Tue, 8 Nov 2005 18:00:13 +0000 (-0800) Subject: [SPARC]: Missing compat_ioctl hookup in openprom driver. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d5a858bc148fe97996af9cf685cc124b70519adf;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [SPARC]: Missing compat_ioctl hookup in openprom driver. Signed-off-by: David S. Miller --- diff --git a/drivers/sbus/char/openprom.c b/drivers/sbus/char/openprom.c index 5028ac21432..383a95f34a0 100644 --- a/drivers/sbus/char/openprom.c +++ b/drivers/sbus/char/openprom.c @@ -596,6 +596,8 @@ static long openprom_compat_ioctl(struct file *file, unsigned int cmd, lock_kernel(); break; } + + return rval; } static int openprom_open(struct inode * inode, struct file * file) @@ -623,6 +625,7 @@ static struct file_operations openprom_fops = { .owner = THIS_MODULE, .llseek = no_llseek, .ioctl = openprom_ioctl, + .compat_ioctl = openprom_compat_ioctl, .open = openprom_open, .release = openprom_release, };