From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pantelis Antoniou Subject: [PATCH] libfdt.h: Define FDT_PATH_MAX Date: Wed, 14 Jun 2017 17:51:48 +0300 Message-ID: <1497451908-15367-1-git-send-email-pantelis.antoniou@konsulko.com> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: David Gibson Cc: Tom Rini , Nishanth Menon , Tero Kristo , Frank Rowand , Rob Herring , Simon Glass , Devicetree Compiler , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Pantelis Antoniou List-Id: devicetree@vger.kernel.org Declare the maximum path size of an FDT node. It is useful for manipulation methods that need to know a maximum value. Signed-off-by: Pantelis Antoniou --- libfdt/libfdt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h index a248b1b..a5c93f6 100644 --- a/libfdt/libfdt.h +++ b/libfdt/libfdt.h @@ -139,6 +139,9 @@ #define FDT_ERR_MAX 17 +/* Maximum path size of a node (similar to PATH_MAX in *nix) */ +#define FDT_PATH_MAX 4096 + /**********************************************************************/ /* Low-level functions (you probably don't need these) */ /**********************************************************************/ -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html