Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752087AbYJ0EYr (ORCPT ); Mon, 27 Oct 2008 00:24:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750877AbYJ0EYj (ORCPT ); Mon, 27 Oct 2008 00:24:39 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:54303 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750728AbYJ0EYj (ORCPT ); Mon, 27 Oct 2008 00:24:39 -0400 Date: Sun, 26 Oct 2008 21:24:01 -0700 From: Andrew Morton To: Mariusz Kozlowski Cc: lkml Subject: Re: [PATCH] fix comile error of hdpuftrs Message-Id: <20081026212401.f3a6ee4d.akpm@linux-foundation.org> In-Reply-To: <200810181537.13653.m.kozlowski@tuxland.pl> References: <200810181537.13653.m.kozlowski@tuxland.pl> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1072 Lines: 30 On Sat, 18 Oct 2008 15:37:12 +0200 Mariusz Kozlowski wrote: > Hello, > > drivers/misc/hdpuftrs/hdpu_nexus.c:118: error: expected identifier or '(' before 'return' > drivers/misc/hdpuftrs/hdpu_nexus.c:119: error: expected identifier or '(' before '}' token > > Signed-off-by: Mariusz Kozlowski > > --- a/drivers/misc/hdpuftrs/hdpu_nexus.c > +++ b/drivers/misc/hdpuftrs/hdpu_nexus.c > @@ -113,7 +113,6 @@ static int hdpu_nexus_probe(struct platform_device *pdev) > if (!hdpu_chassis_id) > printk(KERN_WARNING "sky_nexus: " > "Unable to create proc dir entry: sky_chassis_id\n"); > - } > > return 0; > } This has been broken since 2.6.26. Nobody noticed because there is no way of enabling CONFIG_HDPU_FEATURES in Kconfig. I wonder what's up with that. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/