staging: android: ashmem.c: 'spaces preferred around that -' style issue
authorPeng Sun <sironhide0null@gmail.com>
Thu, 27 Aug 2015 07:41:05 +0000 (15:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:27 +0000 (18:24 -0700)
fix a CHECK style issue by checkpatch.pl with --strict:
spaces preferred around that '-'

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

index 60200a3da82103c1501673e2c3b51ebe2fb283d0..b340ddcd66e60e4ae1834f7b5205907b36a6db72 100644 (file)
@@ -618,7 +618,8 @@ static int ashmem_pin(struct ashmem_area *asma, size_t pgstart, size_t pgend)
 
                        /* Case #3: We overlap from the rear, so adjust it */
                        if (range->pgend <= pgend) {
-                               range_shrink(range, range->pgstart, pgstart-1);
+                               range_shrink(range, range->pgstart,
+                                            pgstart - 1);
                                continue;
                        }