* re: drm/mediatek: Add DPI sub driver
@ 2016-05-12 10:26 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2016-05-12 10:26 UTC (permalink / raw)
To: jie.qiu-NuS5LvNUpcJWk0Htik3J/w
Cc: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Hello Jie Qiu,
This is a semi-automatic email about new static checker warnings.
The patch 9e629c17aa8d: "drm/mediatek: Add DPI sub driver" from Jan
4, 2016, leads to the following Smatch complaint:
drivers/gpu/drm/mediatek/mtk_dpi.c:436 mtk_dpi_set_display_mode()
error: we previously assumed 'dpi' could be null (see line 435)
drivers/gpu/drm/mediatek/mtk_dpi.c
434
435 if (!dpi) {
^^^^
Check.
436 dev_err(dpi->dev, "invalid argument\n");
^^^^^^^^^
Deref. Can dpi even be NULL, btw?
437 return -EINVAL;
438 }
regards,
dan carpenter
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-12 10:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-12 10:26 drm/mediatek: Add DPI sub driver Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).