diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2020-04-06 06:06:58 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-10 15:54:16 -0400 |
commit | a0c91fe241d6dd10ac0fd2a9f2e4e40f4851c9bd (patch) | |
tree | a199b6707c59bd31127c1f12eea8ee19015b95c6 /drivers/sound/samsung_sound.c | |
parent | 49fb28a4b29ee40e38eb92a1dcb69058ce4637af (diff) |
video: sunxi: Change sunxi_get_mon_desc() to not return NULL for the default case
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>
Diffstat (limited to 'drivers/sound/samsung_sound.c')
0 files changed, 0 insertions, 0 deletions