diff options
author | Wei Yongjun <[email protected]> | 2016-09-16 01:50:01 +0000 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2016-09-22 18:27:49 +0800 |
commit | 104a32e85f250742bc37e14d19a5dec706bed76e (patch) | |
tree | 57e27f6f1c27041842e6f330bd04b8d7347691c4 /scripts/gdb/linux/lists.py | |
parent | f7eca278a8f81e701848392b522f80078bf2589f (diff) |
hwrng: geode - fix return value check in mod_init()
In case of error, the function devm_ioremap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should
be replaced with NULL test.
Fixes: 6e9b5e76882c ("hwrng: geode - Migrate to managed API")
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions