2023-06-14 09:07:01

by Naresh Kamboju

[permalink] [raw]
Subject: next: drivers/char/mem.c:164:25: error: implicit declaration of function 'unxlate_dev_mem_ptr';

Following build regressions noticed on Linux next-20230614 and next-20230613.

Reported-by: Linux Kernel Functional Testing <[email protected]>

Regressions found on sh:

- build/gcc-8-microdev_defconfig
- build/gcc-11-dreamcast_defconfig
- build/gcc-11-microdev_defconfig
- build/gcc-8-shx3_defconfig
- build/gcc-8-dreamcast_defconfig
- build/gcc-11-defconfig
- build/gcc-11-allnoconfig
- build/gcc-8-tinyconfig
- build/gcc-11-tinyconfig
- build/gcc-8-allnoconfig
- build/gcc-8-defconfig
- build/gcc-11-shx3_defconfig


build log:
======
drivers/char/mem.c: In function 'read_mem':
drivers/char/mem.c:164:25: error: implicit declaration of function
'unxlate_dev_mem_ptr'; did you mean 'xlate_dev_mem_ptr'?
[-Werror=implicit-function-declaration]
164 | unxlate_dev_mem_ptr(p, ptr);
| ^~~~~~~~~~~~~~~~~~~
| xlate_dev_mem_ptr
cc1: some warnings being treated as errors

steps to reproduce:
=========
tuxmake --runtime podman --target-arch sh --toolchain gcc-11 --kconfig
shx3_defconfig


Links,
===
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230614/testrun/17514799/suite/build/test/gcc-11-shx3_defconfig/log
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230614/testrun/17514799/suite/build/tests/
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230614/testrun/17514799/suite/build/test/gcc-11-shx3_defconfig/history/



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


2023-06-23 07:23:45

by Naresh Kamboju

[permalink] [raw]
Subject: Re: next: drivers/char/mem.c:164:25: error: implicit declaration of function 'unxlate_dev_mem_ptr';

We still notice this problem on Linux next.

On Wed, 14 Jun 2023 at 14:07, Naresh Kamboju <[email protected]> wrote:
>
> Following build regressions noticed on Linux next-20230614 and next-20230613.
>
> Reported-by: Linux Kernel Functional Testing <[email protected]>
>
> Regressions found on sh:
>
> - build/gcc-8-microdev_defconfig
> - build/gcc-11-dreamcast_defconfig
> - build/gcc-11-microdev_defconfig
> - build/gcc-8-shx3_defconfig
> - build/gcc-8-dreamcast_defconfig
> - build/gcc-11-defconfig
> - build/gcc-11-allnoconfig
> - build/gcc-8-tinyconfig
> - build/gcc-11-tinyconfig
> - build/gcc-8-allnoconfig
> - build/gcc-8-defconfig
> - build/gcc-11-shx3_defconfig
>
>
> build log:
> ======
> drivers/char/mem.c: In function 'read_mem':
> drivers/char/mem.c:164:25: error: implicit declaration of function
> 'unxlate_dev_mem_ptr'; did you mean 'xlate_dev_mem_ptr'?
> [-Werror=implicit-function-declaration]
> 164 | unxlate_dev_mem_ptr(p, ptr);
> | ^~~~~~~~~~~~~~~~~~~
> | xlate_dev_mem_ptr
> cc1: some warnings being treated as errors
>
> steps to reproduce:
> =========
> tuxmake --runtime podman --target-arch sh --toolchain gcc-11 --kconfig
> shx3_defconfig
>
> Links,
> ===
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230614/testrun/17514799/suite/build/test/gcc-11-shx3_defconfig/log
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230614/testrun/17514799/suite/build/tests/
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230614/testrun/17514799/suite/build/test/gcc-11-shx3_defconfig/history/
>
>
>
> --
> Linaro LKFT
> https://lkft.linaro.org

- Naresh