Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6270709ybi; Sun, 21 Jul 2019 13:34:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqy840WA44YX4DAUesTJEIJ1ZZdjGMNxMQ8a4l7lC6ZhA13sElhmafD35ouJ6H8+KrM4PzlZ X-Received: by 2002:a63:6d6:: with SMTP id 205mr69746769pgg.262.1563741263686; Sun, 21 Jul 2019 13:34:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563741263; cv=none; d=google.com; s=arc-20160816; b=HdynGdAhjq+pWimY65H7iO9hPYpe9uBwNE2Lwm/xRf7r90iFw5s+yRqW+Oi3fABkGh joh1lshs39Y29ZntovARuPfqn+J7oj8YufO9h/xYNTrY/ul9tYdFjf9f5ehX9H6YTBPk KVnJjj/plGLBMf+3LHIPwhEart4Bl9HvNceBiE0atMj1k0qNuTgW8avQLHUQdlSASNXT //IkAgPMZNvQpDU+XjyNMfeLRkBgJd08GHHnjR1u+mvxOCf5XC6uHrwssi9gOIfhiPnd v1Q6PmRuo75sZKKbaplFezlPZ0JVyK2PGJ58jT0760Zd6fNB5txxqtZktEkmrHpLUSz8 DmHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=X4wMonTzl1ouan7zDC1UvqdQJFZ3cbwN8He57+mzuQk=; b=UCK+NiFkj/o0jXht5N7P1SOfmpZVu0RUr0RK3d+5cFH2/YGDszDnMBbOTCe25i1uZD tpzGfrtSmdqebQGXrvIh4/xkN+XWbeCs64JRJ+6/M0ObYV1Jlav2kS8llF2BYK7ntJhL 2HD9ZjOAg/wjYwRLmD6MLeMep4Sa/yFn/HzvdtnQmPt49MrKtdO/068xtyS1lXG8zO/W 8b0VfKs0sFKLkV/5HgvHDowsfMyP69ltl68gAtOzSdiSnprwnBL3DLTn6TkL8zBobKpS pMUcdltmLaHq53e+Xuhwp9Sju+tHXcOa2g/WliD9EYgauJGhtGK8vBc7q89Gyo1hrOXk Ki4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k73si6473186pge.353.2019.07.21.13.34.07; Sun, 21 Jul 2019 13:34:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727574AbfGUUaR (ORCPT + 99 others); Sun, 21 Jul 2019 16:30:17 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:34694 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725944AbfGUUaQ (ORCPT ); Sun, 21 Jul 2019 16:30:16 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 1321C1526593A; Sun, 21 Jul 2019 13:30:16 -0700 (PDT) Date: Sun, 21 Jul 2019 13:30:15 -0700 (PDT) Message-Id: <20190721.133015.1866356980405870780.davem@davemloft.net> To: fred@fredlawl.com Cc: aelior@marvell.com, GR-everest-linux-l2@marvell.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bhelgaas@google.com Subject: Re: [PATCH] qed: Prefer pcie_capability_read_word() From: David Miller In-Reply-To: <20190718020745.8867-7-fred@fredlawl.com> References: <20190718020745.8867-1-fred@fredlawl.com> <20190718020745.8867-7-fred@fredlawl.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 21 Jul 2019 13:30:16 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frederick Lawler Date: Wed, 17 Jul 2019 21:07:42 -0500 > Commit 8c0d3a02c130 ("PCI: Add accessors for PCI Express Capability") > added accessors for the PCI Express Capability so that drivers didn't > need to be aware of differences between v1 and v2 of the PCI > Express Capability. > > Replace pci_read_config_word() and pci_write_config_word() calls with > pcie_capability_read_word() and pcie_capability_write_word(). > > Signed-off-by: Frederick Lawler Applied.