lkml.org 
[lkml]   [2022]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] PCI: switchtec: Trivial cleanups
Date
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

\
 
 \ /
  Last update: 2022-12-16 17:22    [W:0.071 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site