2018-04-06 13:16:17

by Liu, Changcheng

[permalink] [raw]
Subject: [PATCH] dts: remove cris & metag dts hard link file

arch cris & metag have been removed from supported archs.
The dts hard link files should also be removed, or the ctags
tool will give warning.

execute"ctags -R", output:
ctags: Warning: cannot open source file
"scripts/dtc/include-prefixes/cris" : No such file or directory
ctags: Warning: cannot open source file
"scripts/dtc/include-prefixes/metag" : No such file or directory

Signed-off-by: Liu Changcheng <[email protected]>

diff --git a/scripts/dtc/include-prefixes/cris b/scripts/dtc/include-prefixes/cris
deleted file mode 120000
index 736d998..0000000
--- a/scripts/dtc/include-prefixes/cris
+++ /dev/null
@@ -1 +0,0 @@
-../../../arch/cris/boot/dts
\ No newline at end of file
diff --git a/scripts/dtc/include-prefixes/metag b/scripts/dtc/include-prefixes/metag
deleted file mode 120000
index 87a3c84..0000000
--- a/scripts/dtc/include-prefixes/metag
+++ /dev/null
@@ -1 +0,0 @@
-../../../arch/metag/boot/dts
\ No newline at end of file
--
2.7.4



2018-04-06 15:26:23

by Arnd Bergmann

[permalink] [raw]
Subject: Re: [PATCH] dts: remove cris & metag dts hard link file

On Fri, Apr 6, 2018 at 3:14 PM, Liu, Changcheng
<[email protected]> wrote:
> arch cris & metag have been removed from supported archs.
> The dts hard link files should also be removed, or the ctags
> tool will give warning.
>
> execute"ctags -R", output:
> ctags: Warning: cannot open source file
> "scripts/dtc/include-prefixes/cris" : No such file or directory
> ctags: Warning: cannot open source file
> "scripts/dtc/include-prefixes/metag" : No such file or directory
>
> Signed-off-by: Liu Changcheng <[email protected]>

Applied to my asm-generic tree, thanks!

Arnd