From: Tom Rini Date: Mon, 6 Apr 2020 09:07:35 -0400 Subject: [PATCH v2 1/3] video: sunxi: Change sunxi_get_mon_desc() to not return NULL for the default case In-Reply-To: <1586178420-31046-2-git-send-email-bmeng.cn@gmail.com> References: <1586178420-31046-1-git-send-email-bmeng.cn@gmail.com> <1586178420-31046-2-git-send-email-bmeng.cn@gmail.com> Message-ID: <20200406130735.GQ27133@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: