staging: android: ashmem.c: 'Alignment' style issue
authorPeng Sun <sironhide0null@gmail.com>
Thu, 27 Aug 2015 07:41:07 +0000 (15:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:27 +0000 (18:24 -0700)
fix two CHECK issues by checkpatch.pl with --strict:
Alignment should match open parenthesis

Signed-off-by: Peng Sun <sironhide0null@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ashmem.c

index 1312600e2468d84e2c305f969af72f7fae386ea4..d786ec17e400237173547855aa03219d18145e0b 100644 (file)
@@ -834,16 +834,16 @@ static int __init ashmem_init(void)
        int ret;
 
        ashmem_area_cachep = kmem_cache_create("ashmem_area_cache",
-                                         sizeof(struct ashmem_area),
-                                         0, 0, NULL);
+                                              sizeof(struct ashmem_area),
+                                              0, 0, NULL);
        if (unlikely(!ashmem_area_cachep)) {
                pr_err("failed to create slab cache\n");
                return -ENOMEM;
        }
 
        ashmem_range_cachep = kmem_cache_create("ashmem_range_cache",
-                                         sizeof(struct ashmem_range),
-                                         0, 0, NULL);
+                                               sizeof(struct ashmem_range),
+                                               0, 0, NULL);
        if (unlikely(!ashmem_range_cachep)) {
                pr_err("failed to create slab cache\n");
                return -ENOMEM;