Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3820180pxu; Wed, 9 Dec 2020 01:05:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGEBb12JaFVRRiQ751ysGfY7vBB4vpNyBWCT8uwChT3kZVCkworxglCKuKc0H0I7uvQRjn X-Received: by 2002:a17:906:c24b:: with SMTP id bl11mr1196010ejb.3.1607504751742; Wed, 09 Dec 2020 01:05:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607504751; cv=none; d=google.com; s=arc-20160816; b=mNEHcrlDfGOGZ7jQlSSOnnUjKPCSEMFP5he3ouD3IpxhVNz14SBx2rBWcLW8eByXGo L5dndLXyxFzJZFfG5fDQYiV/4etSoaw/cLSwwqCPl+x+no3PbUDgR0/N0nW8e1rS+4nq 3/jUrRp/nvdpmp3jYCDB/NCPpEnmKmRs33ZbNcYxJhTYS83ZQRRhyahtJvwWcTSWrWf5 Ta+/b8NmTydEWiNlAPqbpHNbjPlBmFlAwkslJkoxIBfd3wX4mB5tbehJai6wpT4tdbWI bL3+UZUqPl5gYDoM85q7oQUWTs03vvUNRCUxsRTAm365QN2xmfXR3WWN/UPZVm8U73Fh kdmA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=vv9KwNdsp/61uZPeVtIIxbbNPJ+gftwtEmzzVMGwI9c=; b=mlBHLES72GXGSSG8yvbHtvLeMk/FfsNI18S77TGVrao2w9vzYjxYm0v002YcN3XoNJ 3VRxM9U7M2QBcDWD+vS6sAYSGDahrdBIGzIygOs4NrhPo/A3Ic6FH+lNA5sMdmxKEoVE VScdwh+1Y7CekWDRXgACpsrOaifRBYl+s+fwMvcIA6SiW2ykGlQcDkqsSvtocTRfvvQD UyfxKWx8WCLG8b203AOxPUZb/rqFDPXoCP281N77AWSIXUGl/Ey4t2Tgdm1KQBBjYB9N /AcP6Y9OeITb2osCrr0LqQlkDnIbZdZEfmIQ/ywWxZDjUyO4pGHklYwQ/nF1eaiv+iX8 4Kgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZYv88C+w; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oc24si443833ejb.367.2020.12.09.01.05.15; Wed, 09 Dec 2020 01:05:51 -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=@kernel.org header.s=k20201202 header.b=ZYv88C+w; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728756AbgLIJEN (ORCPT + 99 others); Wed, 9 Dec 2020 04:04:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:40154 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728634AbgLIJDx (ORCPT ); Wed, 9 Dec 2020 04:03:53 -0500 Date: Wed, 9 Dec 2020 14:33:00 +0530 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607504585; bh=Y8sKKGrlYezUfpA9QSrlmnL0kO7yXjvMcIxMPszDLQU=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=ZYv88C+wY/E/J2SeDl906oq3dpbKDT6luvBWvgQIoTtv6uk70LSXQOc4LV4/Ckte2 t2UovonfT5iDGd4TYZiJMKtE6Td0rbMVabgQIfxxzGAPJPouzmrrf7Cdq5VSoEWG56 q3+OKUTzYzW22kRBiuIhOsQUhVtGj0btEIGytZTd6kpR81vO0k3bNJzFp7kxiFMuAS P2jivjBpreQyW8DQ9NQIzE3uS8JtbsnUyXVSE1qVpB3csHKn7duH6xd5l8cNGL9/dL p0AYMZhW78mhf8JJeZgcCWjjWmJu/y/PpwrMg7iVUj5PLUcBVq4nuWF8fIxyWO+fHP iGoo++aTYv9fg== From: Vinod Koul To: Heiner Kallweit Cc: Bjorn Helgaas , Jonathan Corbet , Jens Axboe , Viresh Kumar , Andy Shevchenko , Dan Williams , David Miller , Lee Jones , 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: <20201209090300.GI8403@vkoul-mobl> References: <4d535d35-6c8c-2bd8-812b-2b53194ce0ec@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4d535d35-6c8c-2bd8-812b-2b53194ce0ec@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 09-12-20, 09:31, 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 > --- > drivers/dma/dw/pci.c | 2 +- > drivers/dma/hsu/pci.c | 2 +- Acked-By: Vinod Koul -- ~Vinod