Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp381720imm; Thu, 30 Aug 2018 00:57:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZxdmLRIcD3z7ahYT7aCfRooU3jcuIEnxh9q5uetl+Aa9B3MN3smtUgSht5t+n1TyT0A6/Y X-Received: by 2002:a62:3703:: with SMTP id e3-v6mr9271072pfa.117.1535615826020; Thu, 30 Aug 2018 00:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535615825; cv=none; d=google.com; s=arc-20160816; b=mFaX0yjTlWxH3iqLWJtZzgSK1CCqa0OR+UZtwzx6U/VbXf/39TjAFbDglvH6d1ZAG/ HWaVrBcH7PXbJj9GpC4JAOCjAv1KqyUIC7qhukMVeAPLEQQHSeJ8cdH4qsCctQZxT77d GP6wKLm3azsrY3d4dM1gt+f8VuA/9kgODkSkVwtdAuLFfSWFKDGLGfd/cHlN3/Wwxcs0 ETf7AhrNYVfLifNCV8MYq2QtG7380q8P7kQ+PYrQL6FcJWyRTUwv7tQo6QFVnHu+luZg 2U0yObq/znBZUWxMnY866PAasIQyc+rNI+jrU6u9ZvaCWDSkMVk28sDM0s7Nc+hr4dUP UKyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :arc-authentication-results; bh=kGesX+pIg+x0PSaQ6wQ8hm9hWl6fdP4PHNCsoPngl3k=; b=J/lrml0bje0aWMwqhO9DiaUBmX79U9Xnw4iDMSExMOGt9J/EyAM+jei2J7EBntLRsw 4gjxb5czHKVVSMNUxs8oCD09+XZy4e5Q7dyuAMo+hhCxEYCErRAUQOK8w0D+E+627/Va 2rmf4vc7CNnhnmJ8NYyL9177dDvc+38k+2mYUSYL1mXjT4nX0ngrgIN5eBEY1uu2+qa1 xbW9GhqFdPomJvraeB4GbixTduCIBzIzkUAYjRPZolA+L2sII6G5ffCVvsur3/Aq4oG7 7S4c53LtbDQQmP9ii5K3wqBqZdc4n/dWAesyFoo+1T2/NelGr8eqK+ktTrzun3IIZFa4 uMQw== 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 v188-v6si5735608pgb.96.2018.08.30.00.56.50; Thu, 30 Aug 2018 00:57:05 -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 S1727962AbeH3L4C convert rfc822-to-8bit (ORCPT + 99 others); Thu, 30 Aug 2018 07:56:02 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:49591 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727588AbeH3L4C (ORCPT ); Thu, 30 Aug 2018 07:56:02 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1fvHnD-0006c5-Pt; Thu, 30 Aug 2018 09:55:03 +0200 Date: Thu, 30 Aug 2018 09:55:03 +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: [PATCH] Drivers: hv: vmbus: include header for get_irq_regs() Message-ID: <20180830075503.vh3qcdcnxcjobj55@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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