aboutsummaryrefslogtreecommitdiff
path: root/drivers/ipack/carriers/tpci200.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-05-23 11:02:42 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-05-23 11:02:42 -0700
commit0e36fd45e37e0b4151d70cfae4d7e3e9a75c5c99 (patch)
tree370acba9beb8873ae261a7e25307bc6719678c31 /drivers/ipack/carriers/tpci200.c
parent8f261041b18ee80ad8afdd1621c909c4df9f6cc3 (diff)
parent7a839dbab1be59f5ed3b3b046de29e166784c9b4 (diff)
downloadlinux-stericsson-0e36fd45e37e0b4151d70cfae4d7e3e9a75c5c99.tar.gz
Merge tag 'char-misc-5.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc fixes from Greg KH: "Here are some small char/misc driver fixes for 5.7-rc7 that resolve some reported issues. Included in here are tiny fixes for the mei, coresight, rtsx, ipack, and mhi drivers. All of these have been in linux-next with no reported issues" * tag 'char-misc-5.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: misc: rtsx: Add short delay after exit from ASPM bus: mhi: core: Fix some error return code ipack: tpci200: fix error return code in tpci200_register() coresight: cti: remove incorrect NULL return check mei: release me_cl object reference
Diffstat (limited to 'drivers/ipack/carriers/tpci200.c')
-rw-r--r--drivers/ipack/carriers/tpci200.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ipack/carriers/tpci200.c b/drivers/ipack/carriers/tpci200.c
index 23445ebfda5c..ec71063fff76 100644
--- a/drivers/ipack/carriers/tpci200.c
+++ b/drivers/ipack/carriers/tpci200.c
@@ -306,6 +306,7 @@ static int tpci200_register(struct tpci200_board *tpci200)
"(bn 0x%X, sn 0x%X) failed to map driver user space!",
tpci200->info->pdev->bus->number,
tpci200->info->pdev->devfn);
+ res = -ENOMEM;
goto out_release_mem8_space;
}