[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230104202223.1091085-1-helgaas@kernel.org>
Date: Wed, 4 Jan 2023 14:22:21 -0600
From: Bjorn Helgaas <helgaas@...nel.org>
To: Lorenzo Pieralisi <lpieralisi@...nel.org>,
Kurt Schwemmer <kurt.schwemmer@...rosemi.com>,
Logan Gunthorpe <logang@...tatee.com>
Cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
Bjorn Helgaas <bhelgaas@...gle.com>
Subject: [PATCH v3 0/2] PCI: switchtec: Trivial cleanups
From: Bjorn Helgaas <bhelgaas@...gle.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 | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
Changes between v2 and v3:
- Remove unused label "out".
Changes between v1 and v2:
- Return -EFAULT for copy_to_user() errors.
--
2.25.1
Powered by blists - more mailing lists