diff options
author | Dan Carpenter <[email protected]> | 2019-06-07 16:57:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-07-25 10:40:02 +0200 |
commit | 94b9a70d32db0d1e8eeaeb27d74a5ae712644da9 (patch) | |
tree | d1cb2b90a6a3c9936aa8956507f02748c4e5eef9 /lib/mpi/mpicoder.c | |
parent | d74ffae8b8dd17eaa8b82fc163e6aa2076dc8fb1 (diff) |
usb/hcd: Fix a NULL vs IS_ERR() bug in usb_hcd_setup_local_mem()
The devm_memremap() function doesn't return NULL, it returns error
pointers.
Fixes: b0310c2f09bb ("USB: use genalloc for USB HCs with local memory")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Sebastian Andrzej Siewior <[email protected]>
Link: https://lore.kernel.org/r/20190607135709.GC16718@mwanda
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions