From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: linux-next: build failure after merge of the ipmi tree Date: Thu, 28 Sep 2017 14:45:37 +1000 Message-ID: <20170928144537.1465e782@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from ozlabs.org ([103.22.144.67]:44139 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751355AbdI1Epj (ORCPT ); Thu, 28 Sep 2017 00:45:39 -0400 Sender: linux-next-owner@vger.kernel.org List-ID: To: Corey Minyard Cc: Linux-Next Mailing List , Linux Kernel Mailing List Hi Corey, After merging the ipmi tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/char/ipmi/ipmi_si_platform.c:360:1: warning: data definition has no type or storage class MODULE_DEVICE_TABLE(of, of_ipmi_match); ^ drivers/char/ipmi/ipmi_si_platform.c:360:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int] drivers/char/ipmi/ipmi_si_platform.c:360:1: warning: parameter names (without types) in function declaration drivers/char/ipmi/ipmi_si_pci.c:142:1: warning: data definition has no type or storage class MODULE_DEVICE_TABLE(pci, ipmi_pci_devices); ^ drivers/char/ipmi/ipmi_si_pci.c:142:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int] drivers/char/ipmi/ipmi_si_pci.c:142:1: warning: parameter names (without types) in function declaration Caused by commits a3f3086dd508 ("ipmi_si: Move platform device handling to another file") fb5d20a966cf ("ipmi_si: Move PCI setup to another file Probably missing include files. I have added this patch for today: From: Stephen Rothwell Date: Thu, 28 Sep 2017 14:40:49 +1000 Subject: [PATCH] ipmi_si: MODULE_DEVICE_TABLE needs module.h Signed-off-by: Stephen Rothwell --- drivers/char/ipmi/ipmi_si_pci.c | 2 +- drivers/char/ipmi/ipmi_si_platform.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/ipmi/ipmi_si_pci.c b/drivers/char/ipmi/ipmi_si_pci.c index ad0b7b6ad250..99771f5cad07 100644 --- a/drivers/char/ipmi/ipmi_si_pci.c +++ b/drivers/char/ipmi/ipmi_si_pci.c @@ -3,7 +3,7 @@ * * Handling for IPMI devices on the PCI bus. */ -#include +#include #include #include "ipmi_si.h" diff --git a/drivers/char/ipmi/ipmi_si_platform.c b/drivers/char/ipmi/ipmi_si_platform.c index 0e7ff0a4a151..9573f1116450 100644 --- a/drivers/char/ipmi/ipmi_si_platform.c +++ b/drivers/char/ipmi/ipmi_si_platform.c @@ -5,7 +5,7 @@ * coming from the platform. */ #include -#include +#include #include #include #include -- 2.14.1 -- Cheers, Stephen Rothwell