Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751579AbWHTWIy (ORCPT ); Sun, 20 Aug 2006 18:08:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751534AbWHTWIy (ORCPT ); Sun, 20 Aug 2006 18:08:54 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:17863 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S1751471AbWHTWIx (ORCPT ); Sun, 20 Aug 2006 18:08:53 -0400 Subject: Re: [RFC][PATCH] hwmon:fix sparse warnings + error handling From: Alan Cox To: Michal Piotrowski Cc: Andrew Morton , Frodo Looijaard , Philip Edelbrock , Mark Studebaker , lm-sensors@lm-sensors.org, LKML In-Reply-To: <44E8C9AE.3060307@gmail.com> References: <44E8C9AE.3060307@gmail.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sun, 20 Aug 2006 23:28:43 +0100 Message-Id: <1156112923.4051.51.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 (2.6.2-1.fc5.5) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 563 Lines: 14 Ar Sul, 2006-08-20 am 22:44 +0200, ysgrifennodd Michal Piotrowski: > Hi, > > This patch fixes 56 sparse "ignoring return value of 'device_create_file'" warnings. It also adds error handling. > The core of these wants turning into called functions with the extra checks included, just because of the size it now is. - 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/