Files
android_kernel_xiaomi_sm8450/drivers/atm
Pan Bian 4606c9e8c5 atm: lanai: set error code when ioremap fails
In function lanai_dev_open(), when the call to ioremap() fails, the
value of return variable result is 0. 0 means no error in this context.
This patch fixes the bug, assigning "-ENOMEM" to result when ioremap()
returns a NULL pointer.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188791

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-05 13:27:33 -05:00
..
2011-03-31 11:26:23 -03:00
2015-01-18 00:28:41 -05:00
2016-07-01 05:58:26 -04:00
2015-06-10 22:46:34 -07:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2013-02-08 14:22:05 -05:00
2005-04-16 15:20:36 -07:00
2015-12-29 15:32:24 -05:00
2012-03-28 18:30:03 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2011-07-26 16:49:47 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00