All of lore.kernel.org
 help / color / mirror / Atom feed
* re: OMAPDSS: move 'compatible' converter to omapdss driver
@ 2014-06-10 19:00 Dan Carpenter
  0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2014-06-10 19:00 UTC (permalink / raw)
  To: linux-fbdev

Hello Tomi Valkeinen,

The patch f2dd36ac9974: "OMAPDSS: move 'compatible' converter to
omapdss driver" from May 15, 2014, leads to the following static
checker warning:

	drivers/video/fbdev/omap2/dss/omapdss-boot-init.c:124 omapdss_add_to_list()
	error: potential null dereference 'n'. (kmalloc returns null)

drivers/video/fbdev/omap2/dss/omapdss-boot-init.c
   120  static void __init omapdss_add_to_list(struct device_node *node, bool root)
   121  {
   122          struct dss_conv_node *n = kmalloc(sizeof(struct dss_conv_node),
   123                  GFP_KERNEL);
   124          n->node = node;
   125          n->root = root;
   126          list_add(&n->list, &dss_conv_list);
   127  }
   128  

regards,
dan carpenter

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-10 19:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-10 19:00 OMAPDSS: move 'compatible' converter to omapdss driver Dan Carpenter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.