Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934729AbYBOO37 (ORCPT ); Fri, 15 Feb 2008 09:29:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761195AbYBOO3d (ORCPT ); Fri, 15 Feb 2008 09:29:33 -0500 Received: from sovereign.computergmbh.de ([85.214.69.204]:36478 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757100AbYBOO3a (ORCPT ); Fri, 15 Feb 2008 09:29:30 -0500 Date: Fri, 15 Feb 2008 15:29:29 +0100 (CET) From: Jan Engelhardt To: Harvey Harrison cc: Jeff Garzik , Tejun Heo , LKML , linux-ide Subject: Re: [PATCH 09/11] ata: fix sparse warning in pata_marvell.c In-Reply-To: <1202966069.2748.25.camel@brick> Message-ID: References: <3ad7c41048d88a3f8aad098570b9fac9ff719aff.1202965399.git.harvey.harrison@gmail.com> <1202966069.2748.25.camel@brick> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 497 Lines: 13 On Feb 13 2008 21:14, Harvey Harrison wrote: >drivers/ata/pata_marvell.c:88:2: warning: returning void-valued expression This is interesting. Why did not gcc warn us about this? (foo.c:3: warning: "return" with a value, in function returning void) -- 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/