diff options
author | Vladimir Zapolskiy <[email protected]> | 2015-03-29 05:43:22 +0300 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2015-04-27 14:38:34 -0500 |
commit | 49bce159fb3750eaf586c0b583a4930ca9db0d9c (patch) | |
tree | eb0e8819d5ed19d840ecbe4d78099348d1b98c04 /drivers/usb/gadget/legacy/acm_ms.c | |
parent | 228321904089b166a034711dd4f94dc657b39227 (diff) |
usb: gadget: xilinx: fix devm_ioremap_resource() check
devm_ioremap_resource() returns IOMEM_ERR_PTR() and it never
returns NULL, fix the check to prevent access to invalid
virtual address.
Signed-off-by: Vladimir Zapolskiy <[email protected]>
Reviewed-by: Sören Brinkmann <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/usb/gadget/legacy/acm_ms.c')
0 files changed, 0 insertions, 0 deletions