Skip to contentSkip to conversation

arm64: dts: rockchip: Drop explicit "include/" prefix from #include

PATCH In review Ian Campbell 3 participants 4 messages May 12, 2017 – May 17, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: Drop explicit "include/" prefix from #include

It not necessary and counter to how all the other files are done.

It also happens to break the build in the split device tree repo
https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/

Cc Brian Norris <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Will Deacon <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-rockchip at lists.infradead.org
Cc linux-kernel at vger.kernel.org
---
 arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +1 -1
index 658bb9dc9dfd..7bd31066399b 100644
@@ -44,7 +44,7 @@
 
 /dts-v1/;
 #include "rk3399-gru.dtsi"
-#include <include/dt-bindings/input/linux-event-codes.h>
+#include <dt-bindings/input/linux-event-codes.h>
 
 /*
  * Kevin-specific things
Signature · 1 line
2.11.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 24 lines · Ian Campbell

It not necessary and counter to how all the other files are done.

It also happens to break the build in the split device tree repo
https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/

Cc Brian Norris <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Will Deacon <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-rockchip at lists.infradead.org
Cc linux-kernel at vger.kernel.org
---
 arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +0 -0
index 658bb9dc9dfd..7bd31066399b 100644

arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts line 47

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +1 -1
@@ -44,7 +44,7 @@
 
 /dts-v1/;
 #include "rk3399-gru.dtsi"
-#include <include/dt-bindings/input/linux-event-codes.h>
+#include <dt-bindings/input/linux-event-codes.h>

Whoops, didn't catch that when porting this to mainline. Thanks!

Quoted 6 lines
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +0 -0
 /*
  * Kevin-specific things
Signature · 1 line
2.11.0
maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Ian Campbell

Hi Ian,

Am Samstag, 13. Mai 2017, 00:53:57 CEST schrieb Ian Campbell:

Quoted 5 lines

It not necessary and counter to how all the other files are done.

It also happens to break the build in the split device tree repo
https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/

Quoted 10 lines
Cc Brian Norris <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Will Deacon <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-rockchip at lists.infradead.org
Cc linux-kernel at vger.kernel.org

that glitch also breaks Olof's patch [0] fixing a depmod symlink recursion in that it creates

../arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts:47:57: fatal error: include/dt-bindings/input/linux-event-codes.h: File or directory not found
#include <include/dt-bindings/input/linux-event-codes.h>

with only Olof's patch applied. So I guess both patches should go together with this one in front, so to be on the safe side, if some else is going to apply both:

[0] https://www.spinics.net/lists/arm-kernel/msg580846.html

#3 lore raw
Quoted 28 lines · Heiko Stuebner

Hi Ian,

Am Samstag, 13. Mai 2017, 00:53:57 CEST schrieb Ian Campbell:

Quoted 6 lines

It not necessary and counter to how all the other files are done.

It also happens to break the build in the split device tree repo
https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetr
ee-rebasing.git/

Quoted 10 lines
Cc Brian Norris <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Will Deacon <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-rockchip at lists.infradead.org
Cc linux-kernel at vger.kernel.org

that glitch also breaks Olof's patch [0] fixing a depmod symlink recursion in that it creates

../arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts:47:57: fatal
error: include/dt-bindings/input/linux-event-codes.h: File or directory not found
?#include <include/dt-bindings/input/linux-event-codes.h>

Quoted 6 lines

with only Olof's patch applied. So I guess both patches should go together with this one in front, so to be on the safe side, if some else
is going to apply both:

Not sure who should/wil merge this, but it seems I neglected to Cc Arnd and Olof so I'm doing so now.

Would be good to get this in soonish.

Ian