Re: [PATCH] checks: Fix spelling in check_graph_endpoint

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



On Mon, Mar 11, 2019 at 06:24:20PM +0000, Leonard Crestez wrote:
> Should be "endpoint" rather than "endpont"
> 
> Signed-off-by: Leonard Crestez <leonard.crestez@xxxxxxx>

Applied, thanks.

> ---
>  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)

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


[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