Re: [PATCH] rockchip: include cru_rk3588.h and define rockchip_cru for RK3588

2024-07-15 Thread FUKAUMI Naoki
hi On 6/19/24 05:39, FUKAUMI Naoki wrote: > sorry, > > On 6/19/24 05:29, FUKAUMI Naoki wrote: >> Hello, >> >> this happens only if HOSTCC=clang. I can see several other errors on >> several other targets with HOSTCC=clang. > > ^this happens only if clang is used at make foo-bar_defconfig stage. >

Re: [PATCH] rockchip: include cru_rk3588.h and define rockchip_cru for RK3588

2024-07-15 Thread Kever Yang
On 2024/6/19 03:30, FUKAUMI Naoki wrote: fix following error found by clang: CC arch/arm/mach-rockchip/cpu-info.o arch/arm/mach-rockchip/cpu-info.c:23:13: error: incomplete definition of type 'struct rockchip_cru' 23 | switch (cru->glb_rst_st) { | ~~

Re: [PATCH] rockchip: include cru_rk3588.h and define rockchip_cru for RK3588

2024-06-18 Thread FUKAUMI Naoki
sorry, On 6/19/24 05:29, FUKAUMI Naoki wrote: Hello, this happens only if HOSTCC=clang. I can see several other errors on several other targets with HOSTCC=clang. ^this happens only if clang is used at make foo-bar_defconfig stage. it seems make foo-bar_defconfig make HOSTCC=clang CC=clang

Re: [PATCH] rockchip: include cru_rk3588.h and define rockchip_cru for RK3588

2024-06-18 Thread FUKAUMI Naoki
Hello, this happens only if HOSTCC=clang. I can see several other errors on several other targets with HOSTCC=clang. CC=clang seems to be fine. Best regards, -- FUKAUMI Naoki Radxa Computer (Shenzhen) Co., Ltd. On 6/19/24 04:30, FUKAUMI Naoki wrote: fix following error found by clang:

[PATCH] rockchip: include cru_rk3588.h and define rockchip_cru for RK3588

2024-06-18 Thread FUKAUMI Naoki
fix following error found by clang: CC arch/arm/mach-rockchip/cpu-info.o arch/arm/mach-rockchip/cpu-info.c:23:13: error: incomplete definition of type 'struct rockchip_cru' 23 | switch (cru->glb_rst_st) { | ~~~^ ./arch/arm/include/asm/arch-rockchip/clock.h: