xf86drm: check return value of asprintf()
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 18 Jan 2022 02:34:41 +0000 (11:34 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Wed, 7 Dec 2022 09:00:18 +0000 (18:00 +0900)
commit050c56e073c0247cbcb32ee73e217ae91e76d446
treea884b81af3c65a9421d355c2b7ef2f0598ab0ba5
parent6867adebd5dd8aa5bfbcaac996bfb087d533f859
xf86drm: check return value of asprintf()

Check return value of asprintf() to fix build warning about not
checked return.

Note: fix build warning in upstream.

Change-Id: Iae8da56e7f743aa249869c58f6557148f799bd4c
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
xf86drm.c