next: arm64: vgettimeofday.c:10:5: error: conflicting types for '__vdso_clock_gettime'; have 'int(clockid_t, struct old_timespec32 *)' {aka 'int(int, struct old_timespec32 *)'}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Following build warnings / errors noticed on arm64 build on Linux next-20231124

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

Build log:
--------
arch/arm64/boot/dts/mediatek/mt8195.dtsi:464.4-27: Warning
(interrupts_property): /soc/i2c@11d01000/pmic@34:#interrupt-cells:
size is (8), expected multiple of 16
arch/arm64/kernel/vdso32/vgettimeofday.c:10:5: error: conflicting
types for '__vdso_clock_gettime'; have 'int(clockid_t,  struct
old_timespec32 *)' {aka 'int(int,  struct old_timespec32 *)'}
   10 | int __vdso_clock_gettime(clockid_t clock,
      |     ^~~~~~~~~~~~~~~~~~~~
In file included from arch/arm64/kernel/vdso32/vgettimeofday.c:8:
include/vdso/gettime.h:16:5: note: previous declaration of
'__vdso_clock_gettime' with type 'int(clockid_t,  struct
__kernel_timespec *)' {aka 'int(int,  struct __kernel_timespec *)'}
   16 | int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts);
      |     ^~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso32/vgettimeofday.c:28:5: error: conflicting
types for '__vdso_clock_getres'; have 'int(clockid_t,  struct
old_timespec32 *)' {aka 'int(int,  struct old_timespec32 *)'}
   28 | int __vdso_clock_getres(clockid_t clock_id,
      |     ^~~~~~~~~~~~~~~~~~~
include/vdso/gettime.h:15:5: note: previous declaration of
'__vdso_clock_getres' with type 'int(clockid_t,  struct
__kernel_timespec *)' {aka 'int(int,  struct __kernel_timespec *)'}
   15 | int __vdso_clock_getres(clockid_t clock, struct __kernel_timespec *res);
      |     ^~~~~~~~~~~~~~~~~~~
make[3]: *** [arch/arm64/kernel/vdso32/Makefile:149:
arch/arm64/kernel/vdso32/vgettimeofday.o] Error 1



Links:
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231124/testrun/21224014/suite/build/test/gcc-13-lkftconfig/log
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231124/testrun/21224014/suite/build/test/gcc-13-lkftconfig/history/
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231124/testrun/21224014/suite/build/test/gcc-13-lkftconfig/details/



Steps to reproduce:
---
tuxmake --runtime podman --target-arch arm64 --toolchain gcc-13
--kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2YbbDYkIkXuo7IuAzRYY1HQS6Cr/config


--
Linaro LKFT
https://lkft.linaro.org




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux