linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* re: OMAPDSS: remove dispc's dependency to VENC/HDMI
@ 2013-08-27  1:20 Dan Carpenter
  2013-08-27 11:16 ` Tomi Valkeinen
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2013-08-27  1:20 UTC (permalink / raw)
  To: tomi.valkeinen; +Cc: linux-omap

Hello Tomi Valkeinen,

This is a semi-automatic email about new static checker warnings.

The patch 5391e87d1259: "OMAPDSS: remove dispc's dependency to 
VENC/HDMI" from May 16, 2013, leads to the following Smatch complaint:

drivers/video/omap2/dss/hdmi.c:672 omapdss_hdmi_display_set_timing()
	 error: we previously assumed 't' could be null (see line 669)

drivers/video/omap2/dss/hdmi.c
   668		t = hdmi_get_timings();
   669		if (t != NULL)
                    ^^^^^^^^^
Existing check.

   670			hdmi.ip_data.cfg = *t;
   671	
   672		dispc_set_tv_pclk(t->timings.pixel_clock * 1000);
                                  ^^^^^^^^^^^^^^^^^^^^^^
Patch added a dereference.

   673	
   674		mutex_unlock(&hdmi.lock);

regards,
dan carpenter

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-27 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-27  1:20 OMAPDSS: remove dispc's dependency to VENC/HDMI Dan Carpenter
2013-08-27 11:16 ` Tomi Valkeinen

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).