Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6270767ybi; Sun, 21 Jul 2019 13:34:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxsGQO8FUHvC+KfIK+Ri7/B6me0MPT3LwYi1/Hni0PphaD0SefC8gh7AooxolBCDEwfc2hT X-Received: by 2002:a17:902:b48f:: with SMTP id y15mr72694643plr.268.1563741271796; Sun, 21 Jul 2019 13:34:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563741271; cv=none; d=google.com; s=arc-20160816; b=SvqJeRKW6MfEsGLnLyjciE7QpDEU6rYhLKgRA3QVc0OaWkf2W9UXmoRt4fK2e2+5KX oIzYASN/y0jcZ6WfT7ZZUhWwnhD6q1pB2671tX9k743Hg/QF5iJ+jo/DtYlmhlLYQ8Mq 7LFK9Et5H0SAlp0C5seex7DiwlyR+vM/TLnA4Z6oPn6JlposXIY1QdgxLtcCAE2TTX7d qtOa9/LT/NRgBdvzOW9n+PicLXEEt5P8ZLD9EOw6CcyPwwulHBAyoMT3iA9DzuytWX43 P0OGf7vOi8mqtq8Toby+ndqLRhopaBVxZeZPWkKYV0V1h0d6J2GJPaKl5b4HCOQXFPYh BbWA== 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=PvlNxNlCZfIn4cWFzPSyOvEAzryR2zkLEyV6W5Lsz/k=; b=CQ1+NSxV1jmH1624GPCtGfsGUeng9seZdb+f0sSG0CjGJc5wOGEGWCJZgUm2TCTyCo nUNX/hA8L8UKWwGx00ESqqpHIXhkq/84XQ4zzK0vXwPAI3HkrbOMIT7vVQHE8Nax/GfH J+aHBAy690oVgQkZPKAN5TcmbEG6QGMMl/Oa90SeMy4fQg+76BD42syFE5gcZnLEDf/s V/z+x7jxW0giglbAuXL92Z5M+aHck1qn+qzTcdmSD6vqS8XW04pdNy/L69DvQr+Ves5D g315FcsFXBDuGGAOyzRlnES1sXrCcyKh9o7+oBvEbTSkvh/DIxG/DkD0wQvSxbDbDXeD fO+w== 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 q8si11117390pjp.61.2019.07.21.13.34.15; Sun, 21 Jul 2019 13:34:31 -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 S1727438AbfGUUaG (ORCPT + 99 others); Sun, 21 Jul 2019 16:30:06 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:34674 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725944AbfGUUaG (ORCPT ); Sun, 21 Jul 2019 16:30:06 -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 8A07915265938; Sun, 21 Jul 2019 13:30:05 -0700 (PDT) Date: Sun, 21 Jul 2019 13:30:04 -0700 (PDT) Message-Id: <20190721.133004.1039855471027921342.davem@davemloft.net> To: fred@fredlawl.com Cc: vishal@chelsio.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bhelgaas@google.com Subject: Re: [PATCH] cxgb4: Prefer pcie_capability_read_word() From: David Miller In-Reply-To: <20190718020745.8867-1-fred@fredlawl.com> References: <20190718020745.8867-1-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:05 -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:36 -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.