re: OMAPDSS: move 'compatible' converter to omapdss driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux