Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1133323ybi; Wed, 19 Jun 2019 14:13:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqw07WJbykA3O9BWbgNFLZG6sImR43YV6+tj4XzBQLP/EDyjLTiXpswZw+PkTqk7ilqN1TYp X-Received: by 2002:a17:902:24a2:: with SMTP id w31mr4725270pla.324.1560978805497; Wed, 19 Jun 2019 14:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560978805; cv=none; d=google.com; s=arc-20160816; b=SMIqq6gfyTJadtS54UPXAovvjwMIX3Li2oZA0ns4J7pnf+X9kZqBTitFA/k6w2PqJ4 Ws899LtXylKw8iKoyMpJ18alCYXUr1tlMtNNGnUeek2g/Sy7z+qYosMVdPO7TDw9W9PB f3JBGX/DIgsCK3d+A+v4SqejQpT9PHO9qIedkkOV0KKzI6lt0FQRUyg7xj3990qQr+dq 44Yn6p4VNqTr9dlWJ4DLySeaPGrIgw6+39MevRFkle2eoY3/MqwAriOHOgz3Rza6lM41 x+RA4SJbsbA1N9wnSfDotez2/1RqLfWo94jtZ0DvJbyzpbssEmU3Bu3fZyofDkX2Kg3q 6g9g== 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=Nur6OvxHJat0HNMnvrnCkYc6d1VAl7NZavuzf4++pno=; b=DYUA2L0SnnmV2pbyU+tV57MfwfiTVXqViHjeS7NHNLEHpynrMdmetJLlZNaRhnyfow 0cikJbR4mKVXuoyA0yALIZCPEiudOmaNMalLsc/XPAzXKjIrJ4HXNeFkFsHtZkYRUkar ScReXrXKGsUoUK/pTlBtiIFKdDszuVdaHcqqyYtYMV4FuccA94hcv1ZmN3c5tC/vV3rh YbhdhgFjPl/etbpSj6InN/BEeNfdgNr6wE1zh88DrlRbVds8neD9bJC8gYhYqeknxclI UgziKDq3+DUA506EKL1L5BGsO1KvuS8iMg5ggS5g7NQy/W6z05in6fevoXsO7KZmRPx0 bNqg== 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 k3si2188764pjt.85.2019.06.19.14.13.09; Wed, 19 Jun 2019 14:13:25 -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 S1730568AbfFSVMo (ORCPT + 99 others); Wed, 19 Jun 2019 17:12:44 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:40174 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726175AbfFSVMo (ORCPT ); Wed, 19 Jun 2019 17:12:44 -0400 Received: from localhost (unknown [144.121.20.163]) (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 A5BF7145E7462; Wed, 19 Jun 2019 14:12:43 -0700 (PDT) Date: Wed, 19 Jun 2019 17:12:41 -0400 (EDT) Message-Id: <20190619.171241.1736506463260822121.davem@davemloft.net> To: puranjay12@gmail.com Cc: skhan@linuxfoundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bjorn@helgaas.com, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [PATCH] net: fddi: skfp: Include generic PCI definitions from pci_regs.h From: David Miller In-Reply-To: <20190619174556.21194-1-puranjay12@gmail.com> References: <20190619174556.21194-1-puranjay12@gmail.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]); Wed, 19 Jun 2019 14:12:44 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Puranjay Mohan Date: Wed, 19 Jun 2019 23:15:56 +0530 > Include the generic PCI definitions from include/uapi/linux/pci_regs.h > change PCI_REV_ID to PCI_REVISION_ID to make it compatible with the > generic define. > This driver uses only one generic PCI define. > > Signed-off-by: Puranjay Mohan > --- > drivers/net/fddi/skfp/drvfbi.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/fddi/skfp/drvfbi.c b/drivers/net/fddi/skfp/drvfbi.c > index bdd5700e71fa..38f6d943385d 100644 > --- a/drivers/net/fddi/skfp/drvfbi.c > +++ b/drivers/net/fddi/skfp/drvfbi.c > @@ -20,6 +20,7 @@ > #include "h/supern_2.h" > #include "h/skfbiinc.h" > #include > +#include You never need to use "uapi/" in header includes from the kernel source, please just use "linux/pci_regs.h" Thank you.