Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758726Ab0FPFxY (ORCPT ); Wed, 16 Jun 2010 01:53:24 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:46675 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756290Ab0FPFxT (ORCPT ); Wed, 16 Jun 2010 01:53:19 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=wSLRhZgVzWoAeoWKMgTcIi4zsgJN3Aaxez+cAK6dO8K1hZhVXKvziPZFkjUXeEDErT VqPSU7wPuBTXtZuTsdlj3qwRWhllzoDzJoex3kFaMa6GSk4jpEexKSXxz3p2u4reLfj4 QA/0dYtmau+aUjHaruhm9drgdt8W99O1gxJp0= MIME-Version: 1.0 In-Reply-To: <1276666434-11227-1-git-send-email-justinmattock@gmail.com> References: <1276666434-11227-1-git-send-email-justinmattock@gmail.com> From: Julian Calaby Date: Wed, 16 Jun 2010 15:52:58 +1000 Message-ID: Subject: Re: [PATCH 0/5] Fix set but unused variable warnings To: "Justin P. Mattock" Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-pci@vger.kernel.org, linux-scsi@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1540 Lines: 39 On Wed, Jun 16, 2010 at 15:33, Justin P. Mattock wrote: > Here is another set of patches fixing some warning messages generated > when building the kernel when using gcc 4.6.0. > > This set just focuses in on the variables warnings that are reported > to be unused. Keep in mind there are still lots more warning messages > that I'm seeing, and will try my hardest to see if I can come up with > a fix, but if things become too difficult and so forth then a bug should > be filled etc.. Given that patches 3, 4 and 5 seem to be a cases of missing error handling, (3 and 4 in particular seem to be breaking things rather than fixing them) in my humble opinion, I think this set needs some work and discussion. Justin, maybe you'd be better off posting the actual error messages (split up by subsystem) and letting the lists discuss them, rather than posting patches which are obviously wrong. (like the ones I've pointed out) I'm sure that everyone here is as committed as you are to eliminating compile warnings and errors and, in my opinion, more good will come from a healthy discussion of the warnings than maintainers NAKing your patches out of hand. Thanks, -- Julian Calaby Email: julian.calaby@gmail.com .Plan: http://sites.google.com/site/juliancalaby/ -- 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/