Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2084180ybd; Mon, 24 Jun 2019 00:05:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxfpIz0NXFiasVwNa82GSGrXWXySART8uBfYKVnCWVKLoEyJKRggPS5UVMPVkeGG5Im/bv X-Received: by 2002:a17:90a:d983:: with SMTP id d3mr22641422pjv.88.1561359955835; Mon, 24 Jun 2019 00:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561359955; cv=none; d=google.com; s=arc-20160816; b=Ta3VUGPjmOlmAnZjDBiSLNo0NimlKpt3uVdzKWr2wA3ozVFRM8vMLNftTmIHd6JY4t yxCx0Fi5yIdAk31dxiOWKknO08O8gBoPgxRJLt+Utj78pW5criUZ0PTG2bT/AMfsn/vR nNgH4toOaE05stSk1YdTrR0thKLD74NQspekt3+oAsR//0u7S0jST5rGvHAKEhqq1XtM ekuIVbO3QDDOpvNqQtgIvAWyQv6OOFhagHgmYwG26/tGE3/vKuV4xVDv6WSD4c/fFmvx Ty1dO4igruj4lUC38BnSHTZ1U0NTws2AEse+cgrIxfkzA9Xf8i6N95D5wyru+VyG4kLy ul4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AJNWEGJIKDd3zy48iUOMkrDN5zu/iHSPzKernfVg8M8=; b=HK/uMl3QcSlZQT0PUuJ8Yebw35VJb9Rb0UYYO7BokgwRE8DgVoUDHIrW9CfT3ifn+M SgD0ZA9+Ph+GFFOwrCBXAy1yD+0ksCfzwgXG55SipkVgiIXfgYUPLyMkRO2xDLEczVXw jOAlyqJnEfgzLo8S6ow1srrM6zmkzlDUNnIdwXaeiSmVPAHzA7k2Ynb/yZR1WYmwWK7U MZiaAEp5NuIOCnXJhg/DUe+w8djQ8fmv/7sanbkSk6Gg8N9uPndzvnlGkPKefV3ou7gi DoJVXiN2nqq6Hx240WpdG1ZVLqIu5t16sInjj5L5izR2RLUmlgrX9Px46NL8uBZ7ON3C D5ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="Mh/q5Fnm"; 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 42si9465092plf.368.2019.06.24.00.05.40; Mon, 24 Jun 2019 00:05:55 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="Mh/q5Fnm"; 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 S1726721AbfFXGpr (ORCPT + 99 others); Mon, 24 Jun 2019 02:45:47 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:45500 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725267AbfFXGpr (ORCPT ); Mon, 24 Jun 2019 02:45:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AJNWEGJIKDd3zy48iUOMkrDN5zu/iHSPzKernfVg8M8=; b=Mh/q5FnmR+faF/a1V6A+X8EvQ 9PpQ4CXlMiYqtpivjYKYu5VGfA+EPMiFUA+9ct8EZggQVj3Gx+gvadUnoPHu+C7Yd+UVO204L51bu xx/9SKwJ1iDnT2CkEBsIM1nUj5kJX7nctb5hDvh3VUZ9RT60LS5HBf+RN62YUapKbMZPiJiI3GSP4 eAgJ5t5b2aBV6zaJtcDm5IN6N0nSKvlil5mMq0/adXULOD9ooY9SjukG+p73pMj/qbkMqz+XRPRwD H2NA5jbZmfso9Tt/SmXJHXYsxNI6AwejnN2q8wRST0C6dtzXrssDtD+/OsNmvsrl+9BwBObQ4BUEe wOlPUMTqQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hfIjZ-0002lV-8p; Mon, 24 Jun 2019 06:45:45 +0000 Date: Sun, 23 Jun 2019 23:45:45 -0700 From: Christoph Hellwig To: Puranjay Mohan Cc: Shuah Khan , Bjorn Helgaas , netdev , Linux Kernel Mailing List , linux-kernel-mentees@lists.linuxfoundation.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v2 1/3] net: fddi: skfp: Rename PCI_REV_ID to PCI_REVISION_ID Message-ID: <20190624064545.GA23977@infradead.org> References: <20190620180754.15413-1-puranjay12@gmail.com> <20190620180754.15413-2-puranjay12@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190620180754.15413-2-puranjay12@gmail.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 20, 2019 at 11:37:52PM +0530, Puranjay Mohan wrote: > Rename the PCI_REV_ID define to PCI_REVISION_ID in skfbi.h > and drvfbi.c to make it compatible with the pci_regs.h > which defines it as PCI_REVISION_ID. We already cache the revision in struct pci_dev. In doubt you should use that one.