Arvind Yadav 064c3db9c5 ata: sata_mv:- Handle return value of devm_ioremap.
Here, If devm_ioremap will fail. It will return NULL.
Then hpriv->base = NULL - 0x20000; Kernel can run into
a NULL-pointer dereference. This error check will avoid
NULL pointer dereference.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
2017-01-06 15:45:32 -05:00
..
2016-09-06 12:38:17 -04:00
2017-01-06 15:41:27 -05:00
2016-10-19 14:34:36 -04:00
2014-03-11 08:30:53 -04:00
2015-09-10 17:02:04 -04:00
2008-01-23 05:24:15 -05:00
2015-11-30 10:02:49 -05:00
2015-04-16 13:53:32 -05:00
2007-07-02 10:17:42 -04:00