Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3829738pxu; Wed, 9 Dec 2020 01:24:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2QHBdxf5m/6rvMiMud2zMGg1B4bTdigieRTEuboMkWr5ORmrlJaukQkv0e2S9cujLyfR8 X-Received: by 2002:a17:906:4016:: with SMTP id v22mr1321271ejj.266.1607505894948; Wed, 09 Dec 2020 01:24:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607505894; cv=none; d=google.com; s=arc-20160816; b=gDVljmmZg/pcSWeMagJLq4AUjhYtg7EqtVb84ge2N7M+RG3OWcqwWOI9tRDNbQ5ETy R52WOw8yzVPwKrTp87PV6hhKTXA8z4kbrE5Kbwc8nhbTGfLF3RCqAdWAHD3O8cm7fU3I 1DO/fRaiZDKjC8EEUWvfNtP9cWXiJqU2MaXbyeV4RtwukCVG4XAV4Ml0S77qHtlcESM/ 0mkQbS6yCsZIZGDXLEGN0o5cBIuUd2QI472AUa0bXvLVJ5Yfb8JPousemezrVpa0spfb mbDirSpoYXJFCYhI+iE7XYdTa+ASTa0ft+s1WO7AxVZLtFU9anGjp4PUX1O208tLUUDr VUkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Mx+SSux44r2ybzN5uouGLt8Nyz1sei2BYkCtNp5/Q1U=; b=SbJ0ByO73JvSVA3qJnqMga/fE5sXBVWD3KW334bS+rwdoKLt8U1+QOEQeOuFYxtQq0 0VdmbkxySKjGmYkORWam9P6EobdUeG0e7mjL/206KWBPbCuir5UJrTCs7UjyKPfk7ta8 yoNueG5YobQrdIyaXSFGOMaXk+IC/QmUyE2dKJijBbj/ZAW4WTwqQ1itiAhBujmaVDJP MFF/t+d3qhWaMr7RJQdYgruJgO2LsrZY6YBZDlOh08eP/YiO2lSXbArnUUp0Hoz+2PdQ DFvKxexNI3i4cmngpFyl9/ZMMqPP7xXDzsJLUXlHswhXnrFDlYX0yX9aTFVD+vZjSN8f 4tPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BrjxDVk7; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o16si539117edi.480.2020.12.09.01.24.32; Wed, 09 Dec 2020 01:24:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BrjxDVk7; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729088AbgLIJXU (ORCPT + 99 others); Wed, 9 Dec 2020 04:23:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729086AbgLIJXJ (ORCPT ); Wed, 9 Dec 2020 04:23:09 -0500 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61EA4C0613D6 for ; Wed, 9 Dec 2020 01:22:29 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id q75so876058wme.2 for ; Wed, 09 Dec 2020 01:22:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=Mx+SSux44r2ybzN5uouGLt8Nyz1sei2BYkCtNp5/Q1U=; b=BrjxDVk7vGKmI9PkGvFwQ3GU2hA8fRK99GdYe9yoQ15TohZrTt4oqHD6OJjC7O2Y29 Chb5nVLxZZJ763fumMNZyor5i0DCuYNiOyFihpca10BMIb1ohsXsz09u0P1vg/3Y4wru /HosQ+j/nJKg+Kb+VfMQ6iRzO9Ksrxt4boRjpyTNIDUxJxpoaP7HSd/o8wqF6tKHpXWD E9/XDzI1UQLDSZoCAoiupyT5JBoQJV5od2iZrHzUHJs78vFF3R+ebTCCmlvtW6+qeIJY pc8bEy4zn9Rx1qyn/Mz6/xDVOGssQXFa05U5P1JqV/VRBQNo6n94KA9rzgGhjXo1uV4o a5jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Mx+SSux44r2ybzN5uouGLt8Nyz1sei2BYkCtNp5/Q1U=; b=CzveE/dE9tX2nggSgLuij+W1pz0sfb0qx1sLv6IGJGWN4uUYlfd3MH3MrqOJjmDU+7 BUhCEfyYTAUDjgvwWRQr3k7Qnmlx9u4NEKbPSgKjdoFqQ04H7K68qruKuJZKQHIYNdPY pRa8E+GKGyrS3SCIJ9AEP0odpgwZrPuUmm6fEjbJrFa3euNUKcb2mglQY36z/emCOrJg USvQdHkL4L3/hkkxc1l6sjFrBJ9y9HT7jbSjoqSMS0nyctgXfcwyLs3ZvcnKJOb5l2/2 blX36IcoDOkH80ncrU0TnT4KuUCYfrPAuefHNw5U6uWzrgO5049V44Lh/1ifcDNWTrJx E2bw== X-Gm-Message-State: AOAM533QiaRsjcgkqLqnnljt3KtGy16PgQuDJoMUW4l+IV7rsa4PpaEp DqGDHsfq1xh0BIATdQmWMAL3CQ== X-Received: by 2002:a1c:40c:: with SMTP id 12mr1687015wme.40.1607505748074; Wed, 09 Dec 2020 01:22:28 -0800 (PST) Received: from dell ([91.110.221.209]) by smtp.gmail.com with ESMTPSA id z8sm2247120wmg.17.2020.12.09.01.22.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 01:22:27 -0800 (PST) Date: Wed, 9 Dec 2020 09:22:24 +0000 From: Lee Jones To: Heiner Kallweit Cc: Bjorn Helgaas , Jonathan Corbet , Jens Axboe , Viresh Kumar , Andy Shevchenko , Dan Williams , Vinod Koul , David Miller , Ion Badulescu , Jakub Kicinski , Lino Sanfilippo , Christian Lamparter , Kalle Valo , Luis Chamberlain , Adam Radford , "James E.J. Bottomley" , "Martin K. Petersen" , James Smart , Dick Kennedy , Nilesh Javali , GR-QLogic-Storage-Upstream@marvell.com, Greg Kroah-Hartman , Jiri Slaby , Peter Chen , Felipe Balbi , "linux-pci@vger.kernel.org" , linux-doc@vger.kernel.org, Linux Kernel Mailing List , linux-ide@vger.kernel.org, dmaengine@vger.kernel.org, "netdev@vger.kernel.org" , linux-parisc@vger.kernel.org, linux-wireless , SCSI development list , linux-serial@vger.kernel.org, Linux USB Mailing List Subject: Re: [PATCH] PCI: Remove pci_try_set_mwi Message-ID: <20201209092224.GU4801@dell> References: <4d535d35-6c8c-2bd8-812b-2b53194ce0ec@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4d535d35-6c8c-2bd8-812b-2b53194ce0ec@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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 > --- > 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 > 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