staging: android: Fix checkpatch.pl error
authorSidong Yang <realwakka@gmail.com>
Sun, 5 Nov 2017 16:52:54 +0000 (16:52 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Nov 2017 15:44:05 +0000 (16:44 +0100)
Remove space prohibited before the close parenthesis ')'.

Signed-off-by: Sidong Yang <realwakka@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion-ioctl.c

index e26b7864db16a4bada0a8d571d5f776fb6aebd54..c78989351f9cfa7bf5913ba226e09019027fa85d 100644 (file)
@@ -31,7 +31,7 @@ static int validate_ioctl_arg(unsigned int cmd, union ion_ioctl_arg *arg)
        case ION_IOC_HEAP_QUERY:
                if (arg->query.reserved0 ||
                    arg->query.reserved1 ||
-                   arg->query.reserved2 )
+                   arg->query.reserved2)
                        return -EINVAL;
                break;
        default: