summaryrefslogtreecommitdiff
path: root/drivers/of/unittest.c
diff options
context:
space:
mode:
authorFrank Rowand <frank.rowand@sonymobile.com>2015-03-13 23:59:01 -0700
committerGrant Likely <grant.likely@linaro.org>2015-03-29 08:56:18 +0100
commita6bb121e16ae1e1cedc8cf37616a4d13c5a9a65b (patch)
tree2f5df5a9ebc84d3c8465c175f7c02d1a142f654c /drivers/of/unittest.c
parentafaed7a993ceae468dabdbbda8a5eaf3e41b7a69 (diff)
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/unittest.c')
-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);
}