Skip to contentSkip to conversation

staging: android: add identifiers to function parameters

PATCH New Ashish Kalra 1 participant 1 message Dec 2, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: android: add identifiers to function parameters

Fix checkpatch.pl warnings of the form "function definition argument 'foo' should also have an identifier name".

---
 drivers/staging/android/ion/ion.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/android/ion/ion.h +2 -1
index 7409437ffdd8..c24c6e230654 100644
@@ -180,7 +180,8 @@ struct ion_heap {
 	wait_queue_head_t waitqueue;
 	struct task_struct *task;
 
-	int (*debug_show)(struct ion_heap *heap, struct seq_file *, void *);
+	int (*debug_show)(struct ion_heap *heap, struct seq_file *s,
+			  void *unused);
 };
 
 /**
Signature · 1 line
2.14.1