Skip to contentSkip to conversation

staging: Remove checkpatch error from ion.c

PATCH New Nicholas Krause 1 participant 1 message Jul 24, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: Remove checkpatch error from ion.c

This patch removes a checkpatch error by adding a line below the definitions of the character array buf and the pointer path.

---
 drivers/staging/android/ion/ion.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/android/ion/ion.c +1 -0
index 2703609..cad76ae 100644
@@ -805,6 +805,7 @@ struct ion_client *ion_client_create(struct ion_device *dev,
 						client, &debug_client_fops);
 	if (!client->debug_root) {
 		char buf[256], *path;
+
 		path = dentry_path(dev->clients_debug_root, buf, 256);
 		pr_err("Failed to create client debugfs at %s/%s\n",
 			path, client->display_name);
Signature · 1 line
1.9.1