summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2023-06-15 11:34:00 +0800
committerJakub Kicinski <kuba@kernel.org>2023-06-15 15:07:28 -0700
commit9a36e2d44d122fe73a2a76ba73f1d50a65cf8210 (patch)
treeadce22da79620e834222a16935cc714c3e28bc22 /drivers/net/ethernet/intel/igc/igc_main.c
parent76a4c8b82938bc5020b67663db41f451684bf327 (diff)
octeon_ep: Add missing check for ioremap
Add check for ioremap() and return the error if it fails in order to guarantee the success of ioremap(). Fixes: 862cd659a6fb ("octeon_ep: Add driver framework and device initialization") Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Link: https://lore.kernel.org/r/20230615033400.2971-1-jiasheng@iscas.ac.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions