* [PATCH] checkpatch: DT bindings vendor prefixes file yas been translated into yaml
@ 2019-07-05 10:03 Miquel Raynal
2019-07-05 10:10 ` Miquel Raynal
2019-07-05 10:11 ` Joe Perches
0 siblings, 2 replies; 3+ messages in thread
From: Miquel Raynal @ 2019-07-05 10:03 UTC (permalink / raw)
To: Andy Whitcroft, Joe Perches; +Cc: Rob Herring, linux-kernel, Miquel Raynal
The extension is now .yaml instead of .txt.
Fixes: 8122de54602e ("dt-bindings: Convert vendor prefixes to json-schema")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index bb28b178d929..9a3163020d67 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -3027,7 +3027,7 @@ sub process {
my @compats = $rawline =~ /\"([a-zA-Z0-9\-\,\.\+_]+)\"/g;
my $dt_path = $root . "/Documentation/devicetree/bindings/";
- my $vp_file = $dt_path . "vendor-prefixes.txt";
+ my $vp_file = $dt_path . "vendor-prefixes.yaml";
foreach my $compat (@compats) {
my $compat2 = $compat;
--
2.19.1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] checkpatch: DT bindings vendor prefixes file yas been translated into yaml
2019-07-05 10:03 [PATCH] checkpatch: DT bindings vendor prefixes file yas been translated into yaml Miquel Raynal
@ 2019-07-05 10:10 ` Miquel Raynal
2019-07-05 10:11 ` Joe Perches
1 sibling, 0 replies; 3+ messages in thread
From: Miquel Raynal @ 2019-07-05 10:10 UTC (permalink / raw)
To: Andy Whitcroft, Joe Perches; +Cc: Rob Herring, linux-kernel
Hello,
Miquel Raynal <miquel.raynal@bootlin.com> wrote on Fri, 5 Jul 2019
12:03:45 +0200:
> The extension is now .yaml instead of .txt.
>
> Fixes: 8122de54602e ("dt-bindings: Convert vendor prefixes to json-schema")
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
> ---
I am one month too late, didn't saw it was fixed in linux-next (as well
as the vendors prefix research), sorry for the noise.
Kind regards,
Miquèl
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] checkpatch: DT bindings vendor prefixes file yas been translated into yaml
2019-07-05 10:03 [PATCH] checkpatch: DT bindings vendor prefixes file yas been translated into yaml Miquel Raynal
2019-07-05 10:10 ` Miquel Raynal
@ 2019-07-05 10:11 ` Joe Perches
1 sibling, 0 replies; 3+ messages in thread
From: Joe Perches @ 2019-07-05 10:11 UTC (permalink / raw)
To: Miquel Raynal, Andy Whitcroft, Andrew Morton; +Cc: Rob Herring, linux-kernel
On Fri, 2019-07-05 at 12:03 +0200, Miquel Raynal wrote:
> The extension is now .yaml instead of .txt.
>
> Fixes: 8122de54602e ("dt-bindings: Convert vendor prefixes to json-schema")
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
> ---
> scripts/checkpatch.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index bb28b178d929..9a3163020d67 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -3027,7 +3027,7 @@ sub process {
> my @compats = $rawline =~ /\"([a-zA-Z0-9\-\,\.\+_]+)\"/g;
>
> my $dt_path = $root . "/Documentation/devicetree/bindings/";
> - my $vp_file = $dt_path . "vendor-prefixes.txt";
> + my $vp_file = $dt_path . "vendor-prefixes.yaml";
>
> foreach my $compat (@compats) {
> my $compat2 = $compat;
Already fixed in -next by:
commit 852d095d16a6298834839f441593f59d58a31978
Author: Rob Herring <robh@kernel.org>
Date: Wed May 22 09:55:34 2019 -0500
checkpatch.pl: Update DT vendor prefix check
In commit 8122de54602e ("dt-bindings: Convert vendor prefixes to
json-schema"), vendor-prefixes.txt has been converted to a DT schema.
Update the checkpatch.pl DT check to extract vendor prefixes from the new
vendor-prefixes.yaml file.
Fixes: 8122de54602e ("dt-bindings: Convert vendor prefixes to json-schema")
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-07-05 10:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-05 10:03 [PATCH] checkpatch: DT bindings vendor prefixes file yas been translated into yaml Miquel Raynal
2019-07-05 10:10 ` Miquel Raynal
2019-07-05 10:11 ` Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®