diff options
author | Krzysztof Kozlowski <[email protected]> | 2015-07-09 22:21:20 +0900 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-07-09 21:43:16 -0700 |
commit | fcc028c106e5750aa66dc43595b3f29f88801ff0 (patch) | |
tree | 014e7870a3f1b8fb28c165b48cf33ee3fa348d0f /lib/timerqueue.c | |
parent | fc5778ca3f3c57af53f0c6b6912970f6416a3a5f (diff) |
net: axienet: Fix devm_ioremap_resource return value check
Value returned by devm_ioremap_resource() was checked for non-NULL but
devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of
error this could lead to dereference of ERR_PTR.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Cc: <[email protected]>
Fixes: 46aa27df8853 ("net: axienet: Use devm_* calls")
Reviewed-by: Sören Brinkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions