video/mbx: indent some if statements
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 11 Jun 2014 06:45:35 +0000 (09:45 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 1 Jul 2014 10:32:30 +0000 (13:32 +0300)
Checkpatch.pl worries that we have left off the conditional bit because
it isn't indented correctly.

WARNING: suspect code indent for conditional statements (24, 24)

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/mbx/mbxfb.c

index 2bd52ed8832cfa0f24c88efdb5c3df29c4e3fa5c..698df9543e30c0a0c13f78a0d9e70bc73753ed39 100644 (file)
@@ -628,14 +628,14 @@ static int mbxfb_ioctl(struct fb_info *info, unsigned int cmd,
                case MBXFB_IOCS_PLANEORDER:
                        if (copy_from_user(&porder, (void __user*)arg,
                                        sizeof(struct mbxfb_planeorder)))
-                       return -EFAULT;
+                               return -EFAULT;
 
                        return mbxfb_ioctl_planeorder(&porder);
 
                case MBXFB_IOCS_ALPHA:
                        if (copy_from_user(&alpha, (void __user*)arg,
                                        sizeof(struct mbxfb_alphaCtl)))
-                       return -EFAULT;
+                               return -EFAULT;
 
                        return mbxfb_ioctl_alphactl(&alpha);