summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorFrank Rowand <frank.rowand@sonymobile.com>2015-03-14 07:59:01 +0100
committerGrant Likely <grant.likely@linaro.org>2015-03-29 09:56:18 +0200
commita6bb121e16ae1e1cedc8cf37616a4d13c5a9a65b (patch)
tree2f5df5a9ebc84d3c8465c175f7c02d1a142f654c /drivers/of
parentof/unittest: add const where needed (diff)
downloadlinux-a6bb121e16ae1e1cedc8cf37616a4d13c5a9a65b.tar.xz
linux-a6bb121e16ae1e1cedc8cf37616a4d13c5a9a65b.zip
of/unittest: typo in error string
Fix bug pointed out by checkpatch. Splitting string incorrectly removed a space between two words. Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/unittest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c
index b322624adb58..276d2ada16e9 100644
--- a/drivers/of/unittest.c
+++ b/drivers/of/unittest.c
@@ -228,8 +228,9 @@ static void __init of_selftest_check_tree_linkage(void)
child_count = of_selftest_check_node_linkage(of_root);
selftest(child_count > 0, "Device node data structure is corrupted\n");
- selftest(child_count == allnode_count, "allnodes list size (%i) doesn't match"
- "sibling lists size (%i)\n", allnode_count, child_count);
+ selftest(child_count == allnode_count,
+ "allnodes list size (%i) doesn't match sibling lists size (%i)\n",
+ allnode_count, child_count);
pr_debug("allnodes list size (%i); sibling lists size (%i)\n", allnode_count, child_count);
}