From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261321AbTIRPrE (ORCPT ); Thu, 18 Sep 2003 11:47:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261602AbTIRPrE (ORCPT ); Thu, 18 Sep 2003 11:47:04 -0400 Received: from fw.osdl.org ([65.172.181.6]:43425 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261321AbTIRPrB (ORCPT ); Thu, 18 Sep 2003 11:47:01 -0400 Date: Thu, 18 Sep 2003 08:40:11 -0700 From: "Randy.Dunlap" To: Jesper Juhl Cc: cherry@osdl.org, linux-kernel@vger.kernel.org Subject: Re: IA32 - 27 New warnings Message-Id: <20030918084011.5ac7be61.rddunlap@osdl.org> In-Reply-To: References: <200309180623.h8I6N3F4007504@cherrypit.pdx.osdl.net> Organization: OSDL X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i686-pc-linux-gnu) X-Face: +5V?h'hZQPB9kW Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 Sep 2003 15:33:21 +0200 (CEST) Jesper Juhl wrote: | | On Wed, 17 Sep 2003, John Cherry wrote: | | > drivers/ide/legacy/pdc4030.c:307: warning: `return' with no value, in function returning non-void | > drivers/ide/legacy/pdc4030.c:323: warning: control reaches end of non-void function | | Below is a patch that silences those two warnings and (hopefully) does the | right thing (I'll attempt to deal with the other ones later today). | | I've tried as best I could to work out the logic of what goes on in that | file, and I /think/ I got it right, but I don't have the hardware to test | if I broke something horribly, so someone more knowledgable than me is | needed to confirm the patch and preferably some brave soul with Promise | hardware to test it as well. | | A little explanation of why I do what I do in the patch: [snip] Bart (IDE maintainer) has already posted patches for this. See http://marc.theaimsgroup.com/?l=linux-kernel&m=106329427503487&w=2 -- ~Randy