* re: gma500: initial medfield merge
@ 2013-11-08 10:05 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2013-11-08 10:05 UTC (permalink / raw)
To: kernel-janitors
Hello Kirill A. Shutemov,
This is a semi-automatic email about new static checker warnings.
The patch 026abc333205: "gma500: initial medfield merge" from Mar 8,
2012, leads to the following Smatch complaint:
drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c:541 __read_panel_data()
warn: variable dereferenced before check 'sender' (see line 536)
drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c
535 unsigned long flags;
536 struct drm_device *dev = sender->dev;
^^^^^^^^^^^
Dereference.
537 int i;
538 u32 gen_data_reg;
539 int retry = MDFLD_DSI_READ_MAX_COUNT;
540
541 if (!sender || !data_out || !len_out) {
^^^^^^^
Check.
542 DRM_ERROR("Invalid parameters\n");
543 return -EINVAL;
regards,
dan carpenter
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-11-08 10:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-08 10:05 gma500: initial medfield merge Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox