Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2834814imm; Mon, 10 Sep 2018 07:11:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbwLojIDZp/m6yMxBLq/160IBWDxZWiR974G0aGDYNsM3QdDZu/9LuVFMocDch34MQW7dVN X-Received: by 2002:a62:6c85:: with SMTP id h127-v6mr24090966pfc.65.1536588685381; Mon, 10 Sep 2018 07:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536588685; cv=none; d=google.com; s=arc-20160816; b=iX6IAZeV5rCn3mGyrEQ3MPF3RhA+zKvNpnnKSTI7+5XKSrzVyPMHHH9B5sLZ8jY93j iIPAa2fRxdcmqjeUhnuLROa849LW6qMYUP60fdjj4UdIiSz6GrAjgj+U7Al11rrET9Bq RNI3SJK0r0wzPkjH7nDaI1Lc9w9LRs+MoY/fPWcGzlsWfHzRedgXLuREQEhNUvWGGHhV Ar82cHWPlJhOI4ZoqB9kytZjn9ilpFgVD9tj3UO4ER3W8/VmcJXEdmzvIZHqmGODp4ea mzhUqsZHDj8JTZi5TtwYyc/+Cbo0oajZ0BRbpFjWlv7tVoCzMT/BHC90xZNV8lmYrq/8 Xz7Q== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=a4xL7rVh9oaaZFoYl6kwavLM/Au4LS7Hxi32wAg6ZLo=; b=nP29kKa5pESND3K8u83/6xqyTjUGCRSZSs7nLLo93kbXAE1GVYWw/sqfWQvLRkwOdx gMwz4qeF5XbLPqIWsGeepSn7w1gLzDBNMRHycuG/QJ8pYu1yChJr2/EAVayU0L7BYjcC XRLBBvErThsfWCp8NFLmfXYCLN6EPvfs+tbPo0fVyfrbwDHREgl7+6U1jbSFPmgxbFIO wXbs30ELphFm6/4jJXevC4zUQeqHiwHiKA2X8ySSVpsz8vs4ZvQjR5XF9gVZpFHPP61T Yf4K59LeAhc63Tu3IKRLlPLbdGFa+LXSrgek4Uofe7ItJv2RXuDVr2qMs5X3Kdjjdghu PphA== 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 m7-v6si17339566pfm.288.2018.09.10.07.10.39; Mon, 10 Sep 2018 07:11: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 S1728299AbeIJTBT convert rfc822-to-8bit (ORCPT + 99 others); Mon, 10 Sep 2018 15:01:19 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:39600 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727989AbeIJTBT (ORCPT ); Mon, 10 Sep 2018 15:01:19 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1fzMqA-0001Iq-Hd; Mon, 10 Sep 2018 16:06:58 +0200 Date: Mon, 10 Sep 2018 16:06:58 +0200 From: Sebastian Andrzej Siewior To: "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger Cc: devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, Steven Rostedt , Bernhard Landauer , Ralf Ramsauer Subject: Re: [PATCH] Drivers: hv: vmbus: include header for get_irq_regs() Message-ID: <20180910140658.4umofqptuxhevtit@linutronix.de> References: <20180830075503.vh3qcdcnxcjobj55@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20180830075503.vh3qcdcnxcjobj55@linutronix.de> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-08-30 09:55:03 [+0200], To K. Y. Srinivasan wrote: > On !RT the header file get_irq_regs() gets pulled in via other header files. On > RT it does not and the build fails: > > drivers/hv/vmbus_drv.c:975 implicit declaration of function ‘get_irq_regs’ [-Werror=implicit-function-declaration] > drivers/hv/hv.c:115 implicit declaration of function ‘get_irq_regs’ [-Werror=implicit-function-declaration] > > Add the header file for get_irq_regs() in a common header so it used by > vmbus_drv.c by hv.c for their get_irq_regs() usage. > > Reported-by: Bernhard Landauer > Reported-by: Ralf Ramsauer > Signed-off-by: Sebastian Andrzej Siewior ping > --- > drivers/hv/hyperv_vmbus.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h > index 72eaba3d50fc2..797f07918197c 100644 > --- a/drivers/hv/hyperv_vmbus.h > +++ b/drivers/hv/hyperv_vmbus.h > @@ -31,6 +31,7 @@ > #include > #include > #include > +#include > > #include "hv_trace.h" > > -- > 2.18.0 >