Message ID | 20221216162126.207863-1-helgaas@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | PCI: switchtec: Trivial cleanups | expand |
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
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.