From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756444Ab1I3CtZ (ORCPT ); Thu, 29 Sep 2011 22:49:25 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:44451 "EHLO relmlor3.renesas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752964Ab1I3CtY (ORCPT ); Thu, 29 Sep 2011 22:49:24 -0400 X-IronPort-AV: E=Sophos;i="4.68,464,1312124400"; d="scan'208";a="47951610" Message-id: <4E852E32.6090703@renesas.com> Date: Fri, 30 Sep 2011 11:49:22 +0900 From: Yoshihiro Shimoda User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 MIME-version: 1.0 To: Stephen Rothwell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Gortmaker , Paul Mundt , "David S. Miller" , netdev@vger.kernel.org Subject: Re: linux-next: build failure after merge of the final tree References: <20110930113811.c2fa2d532dfa799a49c146f4@canb.auug.org.au> In-reply-to: <20110930113811.c2fa2d532dfa799a49c146f4@canb.auug.org.au> Content-type: text/plain; charset=ISO-2022-JP Content-transfer-encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, Thank you for the report. I will submit a patch for the issue soon. Since I used the net-next.git, the build failure didn't happen. This is because that the linux/device.h of the net-next.git has "#include ". But, I was wrong to remove "#include " in the sh_eth.{c,h}. Thanks, Yoshihiro Shimoda 2011/09/30 10:38, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, the next-20110929 build (various sh configs) > failed like this: > > drivers/net/ethernet/renesas/sh_eth.c:601: error: 'THIS_MODULE' undeclared here (not in a function) > drivers/net/ethernet/renesas/sh_eth.c:1970: error: expected declaration specifiers or '...' before string constant > drivers/net/ethernet/renesas/sh_eth.c:1970: warning: data definition has no type or storage class > drivers/net/ethernet/renesas/sh_eth.c:1970: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR' > drivers/net/ethernet/renesas/sh_eth.c:1970: warning: function declaration isn't a prototype > drivers/net/ethernet/renesas/sh_eth.c:1971: error: expected declaration specifiers or '...' before string constant > drivers/net/ethernet/renesas/sh_eth.c:1971: warning: data definition has no type or storage class > drivers/net/ethernet/renesas/sh_eth.c:1971: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION' > drivers/net/ethernet/renesas/sh_eth.c:1971: warning: function declaration isn't a prototype > drivers/net/ethernet/renesas/sh_eth.c:1972: error: expected declaration specifiers or '...' before string constant > drivers/net/ethernet/renesas/sh_eth.c:1972: warning: data definition has no type or storage class > drivers/net/ethernet/renesas/sh_eth.c:1972: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE' > drivers/net/ethernet/renesas/sh_eth.c:1972: warning: function declaration isn't a prototype > > Presumbly revealed by the module.h split up. This file needs to include module.h.