[PATCH] checks: Fix spelling in check_graph_endpoint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Should be "endpoint" rather than "endpont"

Signed-off-by: Leonard Crestez <leonard.crestez@xxxxxxx>
---
 checks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Noticed this minor issue while building the kernel.

Not sure if a github PR is better? Here: https://github.com/dgibson/dtc

diff --git a/checks.c b/checks.c
index c0ed45e1c3bc..586523464bd0 100644
--- a/checks.c
+++ b/checks.c
@@ -1748,11 +1748,11 @@ static void check_graph_endpoint(struct check *c, struct dt_info *dti,
 
 	if (!node->parent || node->parent->bus != &graph_port_bus)
 		return;
 
 	if (!strprefixeq(node->name, node->basenamelen, "endpoint"))
-		FAIL(c, dti, node, "graph endpont node name should be 'endpoint'");
+		FAIL(c, dti, node, "graph endpoint node name should be 'endpoint'");
 
 	check_graph_reg(c, dti, node);
 
 	remote_node = get_remote_endpoint(c, dti, node);
 	if (!remote_node)
-- 
2.17.1





[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux