2022-10-19 14:01:03

by Naresh Kamboju

[permalink] [raw]
Subject: drivers/pinctrl/freescale/pinctrl-imx1-core.c:209:2: error: implicit declaration of function 'seq_printf'; did you mean 'scnprintf'? [-Werror=implicit-function-declaration]

[ Please ignore if this has been reported already ]
Following build warnings / errors noticed on Linux next-20221018 and
20221019 tags while building for arm.

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' multi_v5_defconfig
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
drivers/pinctrl/freescale/pinctrl-imx1-core.c: In function 'imx1_pin_dbg_show':
drivers/pinctrl/freescale/pinctrl-imx1-core.c:209:2: error: implicit
declaration of function 'seq_printf'; did you mean 'scnprintf'?
[-Werror=implicit-function-declaration]
209 | seq_printf(s, "GPIO %d, function %d, direction %d, oconf %d,
iconfa %d, iconfb %d",
| ^~~~~~~~~~
| scnprintf
drivers/pinctrl/freescale/pinctrl-imx1-core.c: In function
'imx1_pinconf_group_dbg_show':
drivers/pinctrl/freescale/pinctrl-imx1-core.c:434:2: error: implicit
declaration of function 'seq_puts'
[-Werror=implicit-function-declaration]
434 | seq_puts(s, "\n");
| ^~~~~~~~
cc1: some warnings being treated as errors

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

## Build
* kernel: 6.1.0-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
* git branch: master
* git commit: a72b55bc981b62f7186600d06d1824f1d0612b27
* git describe: next-20221019
* test details:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221019

## Test Regressions (compared to next-20221017)
* arm, build
- clang-11-imx_v4_v5_defconfig
- clang-11-multi_v5_defconfig
- clang-11-mxs_defconfig
- clang-12-imx_v4_v5_defconfig
- clang-12-multi_v5_defconfig
- clang-12-mxs_defconfig
- clang-13-imx_v4_v5_defconfig
- clang-13-multi_v5_defconfig
- clang-13-mxs_defconfig
- clang-14-imx_v4_v5_defconfig
- clang-14-multi_v5_defconfig
- clang-14-multi_v5_defconfig-65236a87
- clang-14-mxs_defconfig
- clang-nightly-imx_v4_v5_defconfig
- clang-nightly-multi_v5_defconfig
- clang-nightly-multi_v5_defconfig-65236a87
- clang-nightly-mxs_defconfig
- gcc-10-imx_v4_v5_defconfig
- gcc-10-multi_v5_defconfig
- gcc-10-mxs_defconfig
- gcc-11-imx_v4_v5_defconfig
- gcc-11-multi_v5_defconfig
- gcc-11-multi_v5_defconfig-65236a87
- gcc-11-mxs_defconfig
- gcc-12-imx_v4_v5_defconfig
- gcc-12-multi_v5_defconfig
- gcc-12-multi_v5_defconfig-65236a87
- gcc-12-mxs_defconfig
- gcc-8-imx_v4_v5_defconfig
- gcc-8-multi_v5_defconfig
- gcc-8-mxs_defconfig
- gcc-9-imx_v4_v5_defconfig
- gcc-9-multi_v5_defconfig
- gcc-9-mxs_defconfig

Build link
https://builds.tuxbuild.com/2GKpciP8HzSjXDbeqau9HpFlipH/


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