public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* sun4i-ss-cipher.c:139:4: error: implicit declaration of function 'kfree_sensitive'; did you mean 'kvfree_sensitive'?
@ 2021-03-01 17:24 Naresh Kamboju
  2021-03-01 18:25 ` Naresh Kamboju
  2021-03-01 19:01 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 4+ messages in thread
From: Naresh Kamboju @ 2021-03-01 17:24 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin
  Cc: linux-stable, lkft-triage, Corentin Labbe, Herbert Xu

On stable rc 4.19 arm build failed due to below error.
the config file link provided.

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
drivers/crypto/sunxi-ss/sun4i-ss-cipher.c: In function 'sun4i_ss_opti_poll':
drivers/crypto/sunxi-ss/sun4i-ss-cipher.c:139:4: error: implicit
declaration of function 'kfree_sensitive'; did you mean
'kvfree_sensitive'? [-Werror=implicit-function-declaration]
  139 |    kfree_sensitive(backup_iv);
      |    ^~~~~~~~~~~~~~~
      |    kvfree_sensitive
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:304:
drivers/crypto/sunxi-ss/sun4i-ss-cipher.o] Error 1
make[4]: Target '__build' not remade because of errors.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>

ref:
https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1064179234#L462

confg:
https://builds.tuxbuild.com/1pAEVBwRxCDBXf85dL6Kki6o8Yf/config


steps to reproduce:

# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.


tuxmake --runtime podman --target-arch arm --toolchain gcc-9 --kconfig
defconfig --kconfig-add
https://builds.tuxbuild.com/1pAEVBwRxCDBXf85dL6Kki6o8Yf/config

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sun4i-ss-cipher.c:139:4: error: implicit declaration of function 'kfree_sensitive'; did you mean 'kvfree_sensitive'?
  2021-03-01 17:24 sun4i-ss-cipher.c:139:4: error: implicit declaration of function 'kfree_sensitive'; did you mean 'kvfree_sensitive'? Naresh Kamboju
@ 2021-03-01 18:25 ` Naresh Kamboju
  2021-03-01 19:02   ` Greg Kroah-Hartman
  2021-03-01 19:01 ` Greg Kroah-Hartman
  1 sibling, 1 reply; 4+ messages in thread
From: Naresh Kamboju @ 2021-03-01 18:25 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin
  Cc: linux-stable, lkft-triage, Corentin Labbe, Herbert Xu

On Mon, 1 Mar 2021 at 22:54, Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
>
> On stable rc 4.19 arm build failed due to below error.
> the config file link provided.

These build failures were also noticed on stable rc 4.14, 4.19 and 5.4
for arm architecture.

>
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> drivers/crypto/sunxi-ss/sun4i-ss-cipher.c: In function 'sun4i_ss_opti_poll':
> drivers/crypto/sunxi-ss/sun4i-ss-cipher.c:139:4: error: implicit
> declaration of function 'kfree_sensitive'; did you mean
> 'kvfree_sensitive'? [-Werror=implicit-function-declaration]
>   139 |    kfree_sensitive(backup_iv);
>       |    ^~~~~~~~~~~~~~~
>       |    kvfree_sensitive
> cc1: some warnings being treated as errors
> make[4]: *** [scripts/Makefile.build:304:
> drivers/crypto/sunxi-ss/sun4i-ss-cipher.o] Error 1
> make[4]: Target '__build' not remade because of errors.
>
> Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
>
> ref:
> https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1064179234#L462
>
> confg:
> https://builds.tuxbuild.com/1pAEVBwRxCDBXf85dL6Kki6o8Yf/config
>
>
> steps to reproduce:
>
> # TuxMake is a command line tool and Python library that provides
> # portable and repeatable Linux kernel builds across a variety of
> # architectures, toolchains, kernel configurations, and make targets.
> #
> # TuxMake supports the concept of runtimes.
> # See https://docs.tuxmake.org/runtimes/, for that to work it requires
> # that you install podman or docker on your system.
> #
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
>
>
> tuxmake --runtime podman --target-arch arm --toolchain gcc-9 --kconfig
> defconfig --kconfig-add
> https://builds.tuxbuild.com/1pAEVBwRxCDBXf85dL6Kki6o8Yf/config
>
> --
> Linaro LKFT
> https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sun4i-ss-cipher.c:139:4: error: implicit declaration of function 'kfree_sensitive'; did you mean 'kvfree_sensitive'?
  2021-03-01 17:24 sun4i-ss-cipher.c:139:4: error: implicit declaration of function 'kfree_sensitive'; did you mean 'kvfree_sensitive'? Naresh Kamboju
  2021-03-01 18:25 ` Naresh Kamboju
@ 2021-03-01 19:01 ` Greg Kroah-Hartman
  1 sibling, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2021-03-01 19:01 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Sasha Levin, linux-stable, lkft-triage, Corentin Labbe,
	Herbert Xu

On Mon, Mar 01, 2021 at 10:54:52PM +0530, Naresh Kamboju wrote:
> On stable rc 4.19 arm build failed due to below error.
> the config file link provided.
> 
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache
> arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
> drivers/crypto/sunxi-ss/sun4i-ss-cipher.c: In function 'sun4i_ss_opti_poll':
> drivers/crypto/sunxi-ss/sun4i-ss-cipher.c:139:4: error: implicit
> declaration of function 'kfree_sensitive'; did you mean
> 'kvfree_sensitive'? [-Werror=implicit-function-declaration]
>   139 |    kfree_sensitive(backup_iv);
>       |    ^~~~~~~~~~~~~~~
>       |    kvfree_sensitive
> cc1: some warnings being treated as errors
> make[4]: *** [scripts/Makefile.build:304:
> drivers/crypto/sunxi-ss/sun4i-ss-cipher.o] Error 1
> make[4]: Target '__build' not remade because of errors.
> 
> Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
> 
> ref:
> https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1064179234#L462
> 
> confg:
> https://builds.tuxbuild.com/1pAEVBwRxCDBXf85dL6Kki6o8Yf/config
> 
> 
> steps to reproduce:
> 
> # TuxMake is a command line tool and Python library that provides
> # portable and repeatable Linux kernel builds across a variety of
> # architectures, toolchains, kernel configurations, and make targets.
> #
> # TuxMake supports the concept of runtimes.
> # See https://docs.tuxmake.org/runtimes/, for that to work it requires
> # that you install podman or docker on your system.
> #
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
> 
> 
> tuxmake --runtime podman --target-arch arm --toolchain gcc-9 --kconfig
> defconfig --kconfig-add
> https://builds.tuxbuild.com/1pAEVBwRxCDBXf85dL6Kki6o8Yf/config

Also broken on 4.14, I'll fix that there too, thanks!

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sun4i-ss-cipher.c:139:4: error: implicit declaration of function 'kfree_sensitive'; did you mean 'kvfree_sensitive'?
  2021-03-01 18:25 ` Naresh Kamboju
@ 2021-03-01 19:02   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2021-03-01 19:02 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Sasha Levin, linux-stable, lkft-triage, Corentin Labbe,
	Herbert Xu

On Mon, Mar 01, 2021 at 11:55:47PM +0530, Naresh Kamboju wrote:
> On Mon, 1 Mar 2021 at 22:54, Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
> >
> > On stable rc 4.19 arm build failed due to below error.
> > the config file link provided.
> 
> These build failures were also noticed on stable rc 4.14, 4.19 and 5.4
> for arm architecture.

Dropped from all of them, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-01 20:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-01 17:24 sun4i-ss-cipher.c:139:4: error: implicit declaration of function 'kfree_sensitive'; did you mean 'kvfree_sensitive'? Naresh Kamboju
2021-03-01 18:25 ` Naresh Kamboju
2021-03-01 19:02   ` Greg Kroah-Hartman
2021-03-01 19:01 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox