Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1213524

[PATCH 1/8] fix staging:android style issue:spaces preferred around that '-'

From Peng Sun <sironhide0null@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 1/8] fix staging:android style issue:spaces preferred around that '-'
Date 2015-08-26 06:00 +0200
Message-ID <q1A2t-2sv-7@gated-at.bofh.it> (permalink)
References <q1A2t-2sv-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] fix drivers/staging/android several coding style issues Peng Sun <sironhide0null@gmail.com> - 2015-08-26 06:00 +0200
  [PATCH 1/8] fix staging:android style issue:spaces preferred around that '-' Peng Sun <sironhide0null@gmail.com> - 2015-08-26 06:00 +0200
  Re: [PATCH 0/8] fix drivers/staging/android several coding style  issues Greg KH <gregkh@linuxfoundation.org> - 2015-09-03 03:10 +0200

csiph-web