Files
linux-apfs/drivers/char
Wei Yongjun f7eca278a8 hwrng: amd - Fix return value check in mod_init()
In case of error, the function devm_kzalloc() or devm_ioport_map()
return NULL pointer not ERR_PTR(). The IS_ERR() test in the return
value check should be replaced with NULL test.

Fixes: 31b2a73c9c ("hwrng: amd - Migrate to managed API")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-09-22 18:27:48 +08:00
..
2016-07-14 16:21:53 +09:00
2016-02-17 09:39:56 +01:00
2016-07-26 16:19:19 -07:00
2016-01-22 18:04:28 -05:00
2015-03-25 20:28:11 -04:00