stable-rc 5.15: clang-17: drivers/firmware/arm_scmi/smc.c:39:6: error: duplicate member 'irq'

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

 



LKFT build plans upgraded to clang-17 and found this failure,

While building stable-rc 5.15 arm with clang-17 failed with below
warnings and errors.

Build log:
----------

drivers/firmware/arm_scmi/smc.c:39:6: error: duplicate member 'irq'
   39 |         int irq;
      |             ^
drivers/firmware/arm_scmi/smc.c:34:6: note: previous declaration is here
   34 |         int irq;
      |             ^
drivers/firmware/arm_scmi/smc.c:118:20: error: use of undeclared
identifier 'irq'
  118 |                 scmi_info->irq = irq;
      |                                  ^
2 errors generated.

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

Links:
 - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.124-80-g6a5dd0772845/testrun/18864721/suite/build/test/clang-lkftconfig/log
 - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.124-80-g6a5dd0772845/testrun/18864721/suite/build/test/clang-lkftconfig/details/


Steps to reproduce:
 tuxmake --runtime podman --target-arch arm --toolchain clang-17
--kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2TeTE3iE8aq4t1kv169LcMmd9jo/config
LLVM=1 LLVM_IAS=1

  Links:
    - https://storage.tuxsuite.com/public/linaro/lkft/builds/2TeTE3iE8aq4t1kv169LcMmd9jo/tuxmake_reproducer.sh

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



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux