mips-gic-timer.c:180:11: error: call to undeclared function 'read_gic_redir_counter'

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

 



The arch mips builds failed on Linux next-20240709 tag due to below
build warnings / errors [1] with clang-18 and gcc-12 / gcc-8.

This is started from Linux next-20240709.
  GOOD: next-20240703
  BAD: next-20240709

Build details,
-------
kernel: 6.10.0-rc7
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_ref: master
git_sha: 82d01fe6ee52086035b201cfa1410a3b04384257
git_describe: next-20240709
Test details: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240709

Regressions (compared to build next-20240703)
------------------------------------------------------------------------

mips:
  build:
    * clang-18-allnoconfig
    * clang-nightly-defconfig
    * gcc-8-allnoconfig
    * gcc-12-malta_defconfig
    * clang-18-tinyconfig
    * gcc-12-defconfig
    * clang-nightly-allnoconfig
    * gcc-12-tinyconfig
    * gcc-8-malta_defconfig
    * gcc-12-allnoconfig
    * clang-18-defconfig
    * gcc-8-tinyconfig
    * clang-nightly-tinyconfig
    * gcc-8-defconfig

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

Build warnings / errors [2]:
---------
drivers/clocksource/mips-gic-timer.c:180:11: error: call to undeclared
function 'read_gic_redir_counter'; ISO C99 and later do not support
implicit function declarations [-Wimplicit-function-declaration]
  180 |                 count = read_gic_redir_counter();
      |                         ^
drivers/clocksource/mips-gic-timer.c:184:7: error: call to undeclared
function 'read_gic_redir_counter_32h'; ISO C99 and later do not
support implicit function declarations
[-Wimplicit-function-declaration]
  184 |         hi = read_gic_redir_counter_32h();
      |              ^

Links:
----
[1] https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240709/testrun/24543079/suite/build/test/clang-18-defconfig/log
[2] https://storage.tuxsuite.com/public/linaro/lkft/builds/2j0Ox1y8pT9eOUt60DNHQZjFjD1/

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




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux