[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201209092224.GU4801@dell>
Date: Wed, 9 Dec 2020 09:22:24 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Heiner Kallweit <hkallweit1@...il.com>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>,
Jonathan Corbet <corbet@....net>, Jens Axboe <axboe@...nel.dk>,
Viresh Kumar <vireshk@...nel.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Dan Williams <dan.j.williams@...el.com>,
Vinod Koul <vkoul@...nel.org>,
David Miller <davem@...emloft.net>,
Ion Badulescu <ionut@...ula.org>,
Jakub Kicinski <kuba@...nel.org>,
Lino Sanfilippo <LinoSanfilippo@....de>,
Christian Lamparter <chunkeey@...glemail.com>,
Kalle Valo <kvalo@...eaurora.org>,
Luis Chamberlain <mcgrof@...nel.org>,
Adam Radford <aradford@...il.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
James Smart <james.smart@...adcom.com>,
Dick Kennedy <dick.kennedy@...adcom.com>,
Nilesh Javali <njavali@...vell.com>,
GR-QLogic-Storage-Upstream@...vell.com,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
Peter Chen <Peter.Chen@....com>,
Felipe Balbi <balbi@...nel.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
linux-doc@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-ide@...r.kernel.org, dmaengine@...r.kernel.org,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
linux-parisc@...r.kernel.org,
linux-wireless <linux-wireless@...r.kernel.org>,
SCSI development list <linux-scsi@...r.kernel.org>,
linux-serial@...r.kernel.org,
Linux USB Mailing List <linux-usb@...r.kernel.org>
Subject: Re: [PATCH] PCI: Remove pci_try_set_mwi
On Wed, 09 Dec 2020, Heiner Kallweit wrote:
> pci_set_mwi() and pci_try_set_mwi() do exactly the same, just that the
> former one is declared as __must_check. However also some callers of
> pci_set_mwi() have a comment that it's an optional feature. I don't
> think there's much sense in this separation and the use of
> __must_check. Therefore remove pci_try_set_mwi() and remove the
> __must_check attribute from pci_set_mwi().
> I don't expect either function to be used in new code anyway.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@...il.com>
> ---
> patch applies on top of pci/misc for v5.11
> ---
> Documentation/PCI/pci.rst | 5 +----
> drivers/ata/pata_cs5530.c | 2 +-
> drivers/ata/sata_mv.c | 2 +-
> drivers/dma/dw/pci.c | 2 +-
> drivers/dma/hsu/pci.c | 2 +-
> drivers/ide/cs5530.c | 2 +-
> drivers/mfd/intel-lpss-pci.c | 2 +-
Acked-by: Lee Jones <lee.jones@...aro.org>
> drivers/net/ethernet/adaptec/starfire.c | 2 +-
> drivers/net/ethernet/alacritech/slicoss.c | 2 +-
> drivers/net/ethernet/dec/tulip/tulip_core.c | 5 +----
> drivers/net/ethernet/sun/cassini.c | 4 ++--
> drivers/net/wireless/intersil/p54/p54pci.c | 2 +-
> .../intersil/prism54/islpci_hotplug.c | 3 +--
> .../wireless/realtek/rtl818x/rtl8180/dev.c | 2 +-
> drivers/pci/pci.c | 19 -------------------
> drivers/scsi/3w-9xxx.c | 4 ++--
> drivers/scsi/3w-sas.c | 4 ++--
> drivers/scsi/csiostor/csio_init.c | 2 +-
> drivers/scsi/lpfc/lpfc_init.c | 2 +-
> drivers/scsi/qla2xxx/qla_init.c | 8 ++++----
> drivers/scsi/qla2xxx/qla_mr.c | 2 +-
> drivers/tty/serial/8250/8250_lpss.c | 2 +-
> drivers/usb/chipidea/ci_hdrc_pci.c | 2 +-
> drivers/usb/gadget/udc/amd5536udc_pci.c | 2 +-
> drivers/usb/gadget/udc/net2280.c | 2 +-
> drivers/usb/gadget/udc/pch_udc.c | 2 +-
> include/linux/pci.h | 5 ++---
> 27 files changed, 33 insertions(+), 60 deletions(-)
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists