next: drivers/char/mem.c:164:25: error: implicit declaration of function 'unxlate_dev_mem_ptr';

From: Naresh Kamboju
Date: Wed Jun 14 2023 - 04:38:12 EST


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

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

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