Skip to contentSkip to conversation

driver: staging: android: binder.c: Fixed line over 80 characters warning.

PATCH In review Elshad Mustafayev 2 participants 2 messages Sep 23, 2014 – Sep 24, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 driver: staging: android: binder.c: Fixed line over 80 characters warning.

Fixed a coding style issue.

---
 drivers/staging/android/binder.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/android/binder.c +3 -2
index c69c40d..71424bf 100644
@@ -664,8 +664,9 @@ static struct binder_buffer *binder_alloc_buf(struct binder_proc *proc,
 		ALIGN(offsets_size, sizeof(void *));
 
 	if (size < data_size || size < offsets_size) {
-		binder_user_error("%d: got transaction with invalid size %zd-%zd\n",
-				proc->pid, data_size, offsets_size);
+		binder_user_error(
+			"%d: got transaction with invalid size %zd-%zd\n",
+			proc->pid, data_size, offsets_size);
 		return NULL;
 	}
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 12 lines · Elshad Mustafayev

Fixed a coding style issue.

---
 drivers/staging/android/binder.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/android/binder.c +0 -0
index c69c40d..71424bf 100644

drivers/staging/android/binder.c static struct binder_buffer *binder_alloc_buf(struct binder_proc *proc, · line 669

Quoted 8 lines
drivers/staging/android/binder.c +3 -2
@@ -664,8 +664,9 @@ static struct binder_buffer *binder_alloc_buf(struct binder_proc *proc,
 		ALIGN(offsets_size, sizeof(void *));
 
 	if (size < data_size || size < offsets_size) {
-		binder_user_error("%d: got transaction with invalid size %zd-%zd\n",
-				proc->pid, data_size, offsets_size);
+		binder_user_error(
+			"%d: got transaction with invalid size %zd-%zd\n",
+			proc->pid, data_size, offsets_size);

Nope, original code is just fine, checkpatch is giving you a false-warning here.

greg k-h