[Skiboot] [PATCH] fsp: Fix possible use of null "%s" prlog argument

Reza Arbab arbab at linux.ibm.com
Tue Jun 14 06:40:42 AEST 2022


On Tue, May 24, 2022 at 10:49:54AM -0500, Reza Arbab wrote:
>Caught by CI in fedora-rawhide (GCC 12):
>
>  hw/fsp/fsp-codeupdate.c:116:26: error: '%s' directive argument is null [-Werror=format-overflow=]
>    116 |         prlog(PR_NOTICE, "CUPD: IPL SIDE = %s\n", side);
>
>To prevent this, explicitly print the value of ipl_side instead.

Applied to master.

-- 
Reza Arbab


More information about the Skiboot mailing list