Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1214373
| From | Peng Sun <sironhide0null@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/3] staging: android: ashmem.c: 'spaces preferred around that -' style issue |
| Date | 2015-08-27 09:50 +0200 |
| Message-ID | <q206C-6ri-17@gated-at.bofh.it> (permalink) |
| References | <q206B-6ri-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
fix a CHECK style issue by checkpatch.pl with --strict:
spaces preferred around that '-'
Signed-off-by: Peng Sun <sironhide0null@gmail.com>
---
drivers/staging/android/ashmem.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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;
}
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] staging: android: ashmem.c: fix several coding style issues Peng Sun <sironhide0null@gmail.com> - 2015-08-27 09:50 +0200 [PATCH 2/3] staging: android: ashmem.c: 'No space necessary after' style issue Peng Sun <sironhide0null@gmail.com> - 2015-08-27 09:50 +0200 [PATCH 1/3] staging: android: ashmem.c: 'spaces preferred around that -' style issue Peng Sun <sironhide0null@gmail.com> - 2015-08-27 09:50 +0200 [PATCH 3/3] staging: android: ashmem.c: 'Alignment' style issue Peng Sun <sironhide0null@gmail.com> - 2015-08-27 09:50 +0200
csiph-web