devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: imx-drm: ipu-v3: ipu-common.c: Cleaning up return of uninitialized variable
@ 2014-06-14 23:35 Rickard Strandqvist
  2014-06-14 23:35 ` Rickard Strandqvist
  0 siblings, 1 reply; 4+ messages in thread
From: Rickard Strandqvist @ 2014-06-14 23:35 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Grant Likely
  Cc: Fabio Estevam, devel, Rickard Strandqvist, Sascha Hauer,
	Valentina Manea, linux-kernel, Paul Gortmaker, devicetree,
	Rob Herring, Philipp Zabel, Russell King

Before when there was an error a uninitialized variable would be returnd.
Now it returns -ENODEV

This was found using a static code analysis program called cppcheck.

Rickard Strandqvist (1):
  staging: imx-drm: ipu-v3: ipu-common.c:  Cleaning up return of uninitialized variable

 drivers/staging/imx-drm/ipu-v3/ipu-common.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2014-06-20 11:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-14 23:35 [PATCH] staging: imx-drm: ipu-v3: ipu-common.c: Cleaning up return of uninitialized variable Rickard Strandqvist
2014-06-14 23:35 ` Rickard Strandqvist
2014-06-19 22:51   ` Greg Kroah-Hartman
2014-06-20 11:20     ` Rickard Strandqvist

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