On 07/07/14 16:45, Jens Kuske wrote:
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:


thank you, applied on stage/sunxi-3.4

regards,
Alejandro Mery

--
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.

Reply via email to