Signed-off-by: Jens Kuske <jensku...@gmail.com> --- drivers/char/sunxi_g2d/g2d_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/char/sunxi_g2d/g2d_driver.c b/drivers/char/sunxi_g2d/g2d_driver.c index 0ff1beb..0066867 100644 --- a/drivers/char/sunxi_g2d/g2d_driver.c +++ b/drivers/char/sunxi_g2d/g2d_driver.c @@ -426,7 +426,8 @@ long g2d_ioctl(struct file *file, unsigned int cmd, unsigned long arg) /* Invalid IOCTL call */ default: - return -EINVAL; + ret = -EINVAL; + break; } err_noput: -- 2.0.1 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.