diff options
author | Wei Yongjun <[email protected]> | 2020-05-07 09:42:37 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-05-15 16:32:20 +0200 |
commit | 133317479f0324f6faaf797c4f5f3e9b1b36ce35 (patch) | |
tree | b6b12a8dbaa198d8a17e6c96bb2767a5deb42275 /include/linux/fpga/fpga-mgr.h | |
parent | 0bedaa2d6a05b8a736339368b7f33aeeef128cfa (diff) |
ipack: tpci200: fix error return code in tpci200_register()
Fix to return negative error code -ENOMEM from the ioremap() error handling
case instead of 0, as done elsewhere in this function.
Fixes: 43986798fd50 ("ipack: add error handling for ioremap_nocache")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Cc: stable <[email protected]>
Acked-by: Samuel Iglesias Gonsalvez <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions