PCI: Return int from pciconfig_read() syscall
authorKrzysztof Wilczyński <kw@linux.com>
Thu, 29 Jul 2021 23:37:55 +0000 (23:37 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 3 Aug 2021 21:55:48 +0000 (16:55 -0500)
commitd6b1715999fc2e215d35f581fb7471bc9c6f16e9
tree23a58cc8bfccae876736ef4c80f3c337e2f5eae1
parenta8bd29bd49c4156ea0ec5a97812333e2aeef44e7
PCI: Return int from pciconfig_read() syscall

Change pciconfig_read() syscall "err" return value from long to int.  This
makes it consistent with pciconfig_write().

[bhelgaas: commit log]
Link: https://lore.kernel.org/r/20210729233755.1509616-2-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/syscall.c