diff options
author | Peng Sun <sironhide0null@gmail.com> | 2015-08-27 15:41:05 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:27 -0700 |
commit | d2e4f687c463e5080af203de2251b5b78b01e58c (patch) | |
tree | 655fc3400010bfc9b033b7e98b1b8d05813e3e86 | |
parent | 9cb693f6f326ddf8f9df9c2bb3302048a919b394 (diff) | |
download | op-kernel-dev-d2e4f687c463e5080af203de2251b5b78b01e58c.zip op-kernel-dev-d2e4f687c463e5080af203de2251b5b78b01e58c.tar.gz |
staging: android: ashmem.c: 'spaces preferred around that -' style issue
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>
-rw-r--r-- | drivers/staging/android/ashmem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index 60200a3..b340ddc 100644 --- a/drivers/staging/android/ashmem.c +++ b/drivers/staging/android/ashmem.c @@ -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; } |