Re: [PATCH 2/2] treewide: Simplify setenv() calls

2022-06-17 Thread Daniel BrĂ¡t
Since this patch, I am getting a bunch of 'warning: format not a string literal and no format arguments [-Wformat-security]' warnings when compiling for aarch64 rpi. I am using 'aarch64-linux-gnu-gcc 7.5.0' on Ubuntu 18.04. Full compmpile log: https://pastebin.com/iCsBJbXU

[PATCH 2/2] treewide: Simplify setenv() calls

2022-06-17 Thread Sascha Hauer
setenv() now takes printf arguments, use this where possible to simplify the code a bit. Signed-off-by: Sascha Hauer --- commands/clk.c | 10 +++--- commands/crc.c | 14 -- commands/hwclock.c | 4 +--- commands/loadb.c| 4 +--- commands/loads.c| 4 +--- comm