summaryrefslogtreecommitdiffstats
path: root/drivers/uio/uio_pci_generic.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-21 09:48:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-21 09:48:31 +0200
commit03e3e31ee5c8d45c62c31035578bab5e90133eff (patch)
tree5cff3fda5bb8278621c27823f52b7e8dd85fb0ef /drivers/uio/uio_pci_generic.c
parent3ce3e45cc333da707d4d6eb433574b990bcc26f5 (diff)
parent50f09a3dd5877bda888fc25c3d98937dcfb85539 (diff)
downloadlinux-stable-03e3e31ee5c8d45c62c31035578bab5e90133eff.tar.gz
linux-stable-03e3e31ee5c8d45c62c31035578bab5e90133eff.tar.bz2
linux-stable-03e3e31ee5c8d45c62c31035578bab5e90133eff.zip
Merge 50f09a3dd587 ("Merge tag 'char-misc-5.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc") into char-misc-next
We want the char/misc driver fixes in here as well Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio/uio_pci_generic.c')
-rw-r--r--drivers/uio/uio_pci_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uio/uio_pci_generic.c b/drivers/uio/uio_pci_generic.c
index efc43869131d..e03f9b532a96 100644
--- a/drivers/uio/uio_pci_generic.c
+++ b/drivers/uio/uio_pci_generic.c
@@ -84,7 +84,7 @@ static int probe(struct pci_dev *pdev,
}
if (pdev->irq && !pci_intx_mask_supported(pdev))
- return -ENOMEM;
+ return -ENODEV;
gdev = devm_kzalloc(&pdev->dev, sizeof(struct uio_pci_generic_dev), GFP_KERNEL);
if (!gdev)