From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH v2] checkpatch: fix wildcard DT compatible string checking Date: Mon, 19 May 2014 17:01:03 +0200 Message-ID: References: <1397137314-13523-1-git-send-email-robherring2@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1397137314-13523-1-git-send-email-robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rob Herring Cc: "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Rob Herring , Florian Vaussard , Joe Perches , Andy Whitcroft , Andrew Morton List-Id: devicetree@vger.kernel.org On Thu, Apr 10, 2014 at 3:41 PM, Rob Herring wrote: > From: Rob Herring > > We attempt to search for compatible strings which use a variable > token in the documented name such as or . While this > was attempted to be handled, it's utterly broken. > > The desired forms of matching are: > > vendor,-* > vendor,name-* > > For , lower case characters and numbers are permitted. For > , only numeric values are allowed. > > With this change, the number of missing compatible strings reported in > arch/arm/boot/dts is reduced from 1071 to 960. > > Reported-by: Alexandre Belloni > Signed-off-by: Rob Herring > Cc: Florian Vaussard > Cc: Joe Perches > Cc: Andy Whitcroft > Cc: Andrew Morton As I came up with about the same patch while investigating why it didn't work for me: Tested-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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