Colin Ian King
7e0c19c960
mtd: physmap_of: fix null pointer deference when kzalloc returns null
...
static analysis by smatch caught the following error:
drivers/mtd/maps/physmap_of.c:135 of_get_probes()
error: potential null dereference 'res'. (kzalloc returns null)
Check for failed kzalloc and return -ENOMEM in of_flash_probe if
this occurs.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2015-08-18 17:57:19 -07:00
..
2015-05-21 10:37:51 -07:00
2014-10-22 01:35:41 -07:00
2013-08-30 21:51:49 +01:00
2013-04-05 12:54:27 +01:00
2015-05-28 12:01:29 -07:00
2015-05-21 10:37:51 -07:00
2014-08-19 11:53:10 -07:00
2015-05-21 10:37:51 -07:00
2013-08-30 21:51:40 +01:00
2014-03-10 22:42:22 -07:00
2014-10-20 16:20:57 +02:00
2015-05-20 15:50:24 -07:00
2012-03-27 00:52:49 +01:00
2015-05-27 12:35:12 -07:00
2014-03-10 22:42:22 -07:00
2013-08-05 21:01:08 +01:00
2011-05-25 02:25:00 +01:00
2015-08-18 17:33:34 -07:00
2014-03-10 22:42:22 -07:00
2014-08-19 11:53:05 -07:00
2015-08-18 17:57:19 -07:00
2014-10-20 16:20:57 +02:00
2013-01-03 15:57:03 -08:00
2014-10-20 16:20:57 +02:00
2011-05-25 02:25:00 +01:00
2014-10-20 16:20:57 +02:00
2014-10-20 16:20:57 +02:00
2015-03-30 17:50:40 -07:00
2011-05-25 02:25:00 +01:00
2014-05-28 00:05:24 -07:00
2014-03-10 22:42:22 -07:00
2011-05-25 02:22:04 +01:00
2014-05-28 15:12:47 -07:00
2014-10-20 16:20:57 +02:00
2015-03-30 20:19:44 -07:00
2013-04-05 13:04:20 +01:00
2013-02-04 09:26:30 +02:00
2012-11-22 12:07:03 +02:00