Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6285700ybi; Sun, 21 Jul 2019 14:01:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqy92rEhZsMl79jZK4SqYrCvGbhBn+4jpiYuFUmBW5fdpv8VXISsdpoA/XfYRG0HSt5MoAyY X-Received: by 2002:a17:90a:bb8b:: with SMTP id v11mr72165499pjr.64.1563742864348; Sun, 21 Jul 2019 14:01:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563742864; cv=none; d=google.com; s=arc-20160816; b=Gi/Z4K3TDsi0tKJwrCLXju6XbGx127PHURBfoST18csQXgKoH9GoCB0MZlh2ggos6m g3MCfJhP/G9gwnr02EqbaxST+NpWg4Ko8YWmZ7J44p2WJIkGf8kNxSnDeabnji01m8BH +5uqO3PRcZsbx9Cs8vkDpIqg+Q3n3JAwVT9KYE7ctit4gvtwGUJDawcWlnqDrGJTrtqB bm5EXCImS3RbOm85jdnPNGVtNbmMcnuuf5fkicVZk5qT+egPPM0q7EFYSY0FNagWnx+1 YHrQKgx2Mkw3nQh/XjK07gb7ioJ89PE8lfXBk8otPlM5GULoKVTLfBKYjImqVAazrrcc VXeA== 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=lz0hFMl5VfjA/RSe0HZ0bFc373fvnwjPwW2Gor3/3bI=; b=OSnu5juZHvJNmArfMwn0qmxlTYPjh32MhI2yR0J2Q6quscZxJDZc3gJob3VyIl460U tWOXe4ktEkOMTzAoaoFnSuGVt6z9uhHCzpMjtjrZH+BqWxn9/91RzSHa2C/NiXvx0vTL CU/IrKmA8XoW8spkMiJL6GLo0JprDt76ToCeKmZ9CuXvwwk5js5onYeLqAGHLrTjc95n BwUV0NyFsICYaK4bXIeQ0PuRTrG2DHmQuyFqLsZFYpdcgCHVDtLct/Ex8GBFo98xMZft Baja09W+7u3TdTvlTd/9dvyRwwZq8u+D4nZfLnVfpaMpPgzIpnydEGIywS3myAMaZbPy VvQA== 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 p19si7075359pfn.53.2019.07.21.14.00.48; Sun, 21 Jul 2019 14:01:04 -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 S1726998AbfGUUaL (ORCPT + 99 others); Sun, 21 Jul 2019 16:30:11 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:34686 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725944AbfGUUaL (ORCPT ); Sun, 21 Jul 2019 16:30:11 -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 800D115265E02; Sun, 21 Jul 2019 13:30:10 -0700 (PDT) Date: Sun, 21 Jul 2019 13:30:10 -0700 (PDT) Message-Id: <20190721.133010.561994148836125357.davem@davemloft.net> To: fred@fredlawl.com Cc: jeffrey.t.kirsher@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bhelgaas@google.com Subject: Re: [PATCH] igc: Prefer pcie_capability_read_word() From: David Miller In-Reply-To: <20190718020745.8867-4-fred@fredlawl.com> References: <20190718020745.8867-1-fred@fredlawl.com> <20190718020745.8867-4-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:10 -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:39 -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.