stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stable-rc 4.19: lib/vsprintf.c:1983:11: error: implicit declaration of function ‘error_string’ [-Werror=implicit-function-declaration]  1983 | return error_string(buf, end, "(einval)", spec);
@ 2020-05-18 17:19 Naresh Kamboju
  2020-05-18 17:31 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2020-05-18 17:19 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin, linux- stable; +Cc: lkft-triage

stable-rc 4.19 build broken on arm64, arm, x86_64 and i386.

 # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=x86
HOSTCC=gcc CC="sccache gcc" O=build
75 #
76 kernel/locking/rwsem.o: warning: objtool: up_read()+0x11: call
without frame pointer save/setup
77 kernel/locking/rwsem.o: warning: objtool: up_write()+0x17: call
without frame pointer save/setup
78 kernel/locking/rwsem.o: warning: objtool: downgrade_write()+0x25:
call without frame pointer save/setup
79 ../drivers/crypto/ccp/sp-platform.c:37:34: warning: array
‘sp_of_match’ assumed to have one element
80  37 | static const struct of_device_id sp_of_match[];
81  | ^~~~~~~~~~~
82 ../lib/vsprintf.c: In function ‘pointer’:
83 ../lib/vsprintf.c:1983:11: error: implicit declaration of function
‘error_string’ [-Werror=implicit-function-declaration]
84  1983 | return error_string(buf, end, "(einval)", spec);
85  | ^~~~~~~~~~~~
86 ../lib/vsprintf.c:1983:11: warning: returning ‘int’ from a function
with return type ‘char *’ makes pointer from integer without a cast
[-Wint-conversion]
87  1983 | return error_string(buf, end, "(einval)", spec);
88  | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 cc1: some warnings being treated as errors

ref:
https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/557410092
https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/557410099

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

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

* Re: stable-rc 4.19: lib/vsprintf.c:1983:11: error: implicit declaration of function ‘error_string’ [-Werror=implicit-function-declaration]  1983 | return error_string(buf, end, "(einval)", spec);
  2020-05-18 17:19 stable-rc 4.19: lib/vsprintf.c:1983:11: error: implicit declaration of function ‘error_string’ [-Werror=implicit-function-declaration] 1983 | return error_string(buf, end, "(einval)", spec); Naresh Kamboju
@ 2020-05-18 17:31 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2020-05-18 17:31 UTC (permalink / raw)
  To: Naresh Kamboju; +Cc: Sasha Levin, linux- stable, lkft-triage

On Mon, May 18, 2020 at 10:49:08PM +0530, Naresh Kamboju wrote:
> stable-rc 4.19 build broken on arm64, arm, x86_64 and i386.
> 
>  # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=x86
> HOSTCC=gcc CC="sccache gcc" O=build
> 75 #
> 76 kernel/locking/rwsem.o: warning: objtool: up_read()+0x11: call
> without frame pointer save/setup
> 77 kernel/locking/rwsem.o: warning: objtool: up_write()+0x17: call
> without frame pointer save/setup
> 78 kernel/locking/rwsem.o: warning: objtool: downgrade_write()+0x25:
> call without frame pointer save/setup
> 79 ../drivers/crypto/ccp/sp-platform.c:37:34: warning: array
> ‘sp_of_match’ assumed to have one element
> 80  37 | static const struct of_device_id sp_of_match[];
> 81  | ^~~~~~~~~~~
> 82 ../lib/vsprintf.c: In function ‘pointer’:
> 83 ../lib/vsprintf.c:1983:11: error: implicit declaration of function
> ‘error_string’ [-Werror=implicit-function-declaration]
> 84  1983 | return error_string(buf, end, "(einval)", spec);
> 85  | ^~~~~~~~~~~~
> 86 ../lib/vsprintf.c:1983:11: warning: returning ‘int’ from a function
> with return type ‘char *’ makes pointer from integer without a cast
> [-Wint-conversion]
> 87  1983 | return error_string(buf, end, "(einval)", spec);
> 88  | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 89 cc1: some warnings being treated as errors
> 
> ref:
> https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/557410092
> https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/557410099

Should all now be fixed, sorry for the churn.

greg k-h

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

end of thread, other threads:[~2020-05-18 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-18 17:19 stable-rc 4.19: lib/vsprintf.c:1983:11: error: implicit declaration of function ‘error_string’ [-Werror=implicit-function-declaration] 1983 | return error_string(buf, end, "(einval)", spec); Naresh Kamboju
2020-05-18 17:31 ` 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;
as well as URLs for NNTP newsgroup(s).