
11 Apr
2020
11 Apr
'20
3:17 a.m.
On Mon, Apr 06, 2020 at 06:06:58AM -0700, Bin Meng wrote:
When building with gcc 9.2.0, the following build warning was seen:
drivers/video/sunxi/sunxi_display.c: In function 'video_hw_init': drivers/video/sunxi/sunxi_display.c:1217:2: error: '%s' directive argument is null [-Werror=format-overflow=]
Change sunxi_get_mon_desc() to not return NULL for the default case, to fix the compiler warning.
Signed-off-by: Bin Meng bmeng.cn@gmail.com Reviewed-by: Tom Rini trini@konsulko.com
Applied to u-boot/next, thanks!
--
Tom