Vladimir Zapolskiy
d449d69d21
misc: sram: fix check of devm_ioremap*() return value
...
Both devm_ioremap() and devm_ioremap_wc() functions return either
a pointer to valid iomem region or NULL, check for IS_ERR() is improper
and may result in oops on error path. Now on error -ENOMEM is returned.
Fixes: 0ab163ad1ea0 ("misc: sram: switch to ioremap_wc from ioremap")
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-30 14:15:56 -07:00
..
2015-06-25 17:00:38 -07:00
2016-02-07 23:01:45 -08:00
2013-09-26 13:55:30 -07:00
2016-03-19 15:38:41 -07:00
2014-02-28 14:08:42 -08:00
2016-03-01 16:55:48 -08:00
2016-02-08 14:57:30 -08:00
2016-04-04 10:41:08 -07:00
2016-02-07 23:01:45 -08:00
2016-04-30 14:08:08 -07:00
2016-04-30 13:53:19 -07:00
2016-02-16 10:11:12 +01:00
2015-09-08 15:35:28 -07:00
2016-02-07 23:01:45 -08:00
2016-04-04 10:41:08 -07:00
2015-09-20 19:33:29 -07:00
2015-10-28 10:30:17 +09:00
2016-03-01 16:55:13 -08:00
2016-02-07 23:01:45 -08:00
2014-02-07 15:10:19 -08:00
2016-02-07 23:01:45 -08:00
2015-10-06 12:33:14 +02:00
2016-03-02 23:43:11 +09:00
2016-02-07 23:01:45 -08:00
2015-03-16 21:10:28 +01:00
2015-08-10 08:37:35 +02:00
2015-10-28 10:30:17 +09:00
2014-02-07 15:10:19 -08:00
2013-12-04 20:23:51 -08:00
2014-10-20 16:20:54 +02:00
2015-08-05 13:53:39 -07:00
2014-07-09 14:19:34 -07:00
2015-03-31 08:53:36 +03:00
2014-01-07 15:06:07 +01:00
2014-02-07 15:10:19 -08:00
2015-10-04 12:42:33 +01:00
2013-08-27 08:28:01 -07:00
2015-01-12 05:04:11 -08:00
2015-08-10 08:37:35 +02:00
2014-02-07 15:10:19 -08:00
2016-02-22 14:46:24 -08:00
2015-09-20 19:32:35 -07:00
2015-10-28 10:30:17 +09:00
2016-04-06 16:22:25 -07:00
2016-02-03 14:14:22 -08:00
2016-02-11 19:24:23 -08:00
2016-03-05 12:19:39 -08:00
2013-10-16 12:36:10 -07:00
2013-09-26 09:13:54 -07:00
2015-07-29 13:37:18 -07:00
2015-10-13 22:17:40 -07:00
2016-04-30 14:15:56 -07:00
2015-10-28 10:30:17 +09:00
2015-03-25 11:36:38 +01:00
2013-10-16 18:40:58 -07:00
2015-08-10 08:37:35 +02:00
2014-11-28 16:08:16 +01:00
2015-11-06 17:50:42 -08:00