[PATCH v2 0/2] PCI: switchtec: Trivial cleanups

Bjorn Helgaas posted 2 patches 2 years, 9 months ago
There is a newer version of this series
drivers/pci/switch/switchtec.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
[PATCH v2 0/2] PCI: switchtec: Trivial cleanups
Posted by Bjorn Helgaas 2 years, 9 months ago
From: Bjorn Helgaas <bhelgaas@google.com>

Simplify switchtec_dma_mrpc_isr() slightly and return the right
copy_to_user() error code from switchtec_dev_read().

Bjorn Helgaas (2):
  PCI: switchtec: Simplify switchtec_dma_mrpc_isr()
  PCI: switchtec: Return -EFAULT for copy_to_user() errors

 drivers/pci/switch/switchtec.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Changes between v1 and v2:
- Return -EFAULT for copy_to_user() errors.
-- 
2.25.1
Re: [PATCH v2 0/2] PCI: switchtec: Trivial cleanups
Posted by Lorenzo Pieralisi 2 years, 8 months ago
On Fri, 16 Dec 2022 10:21:24 -0600, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
> 
> Simplify switchtec_dma_mrpc_isr() slightly and return the right
> copy_to_user() error code from switchtec_dev_read().
> 
> Bjorn Helgaas (2):
>   PCI: switchtec: Simplify switchtec_dma_mrpc_isr()
>   PCI: switchtec: Return -EFAULT for copy_to_user() errors
> 
> [...]

Applied to pci/switchtec, thanks!

[1/2] PCI: switchtec: Simplify switchtec_dma_mrpc_isr()
      https://git.kernel.org/lpieralisi/pci/c/1a810b9bb681
[2/2] PCI: switchtec: Return -EFAULT for copy_to_user() errors
      https://git.kernel.org/lpieralisi/pci/c/fbc855bce49e

Thanks,
Lorenzo