瀏覽代碼

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>
Frank Rowand 10 年之前
父節點
當前提交
a6bb121e16
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      drivers/of/unittest.c

+ 3 - 2
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);
 }