Re: [PATCH] libfdt: Fix FDT_ERR_NOTFOUND typos in documentation

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



On Fri, Dec 21, 2018 at 05:32:23PM +0100, Geert Uytterhoeven wrote:
> The actual error is FDT_ERR_NOTFOUND, not FDT_ERR_NOT_FOUND.
> 
> Fixes: d29126c90acb0d70 ("libfdt: Add iterator over properties")
> Fixes: 902d0f0953d0074b ("libfdt: Add a subnodes iterator macro")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Applied, thanks.

> ---
>  libfdt/libfdt.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
> index 263b7adf4e5b70f1..a470d1df6d2a1bef 100644
> --- a/libfdt/libfdt.h
> +++ b/libfdt/libfdt.h
> @@ -227,7 +227,7 @@ int fdt_next_subnode(const void *fdt, int offset);
>   *		...
>   *	}
>   *
> - *	if ((node < 0) && (node != -FDT_ERR_NOT_FOUND)) {
> + *	if ((node < 0) && (node != -FDT_ERR_NOTFOUND)) {
>   *		Error handling
>   *	}
>   *
> @@ -566,7 +566,7 @@ int fdt_next_property_offset(const void *fdt, int offset);
>   *		...
>   *	}
>   *
> - *	if ((property < 0) && (property != -FDT_ERR_NOT_FOUND)) {
> + *	if ((property < 0) && (property != -FDT_ERR_NOTFOUND)) {
>   *		Error handling
>   *	}
>   *

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