Re: [lm-sensors] [RFC][PATCH] hwmon:fix sparse warnings + error handling

From: jim . cromie
Date: Sun Aug 20 2006 - 17:46:41 EST

Michal Piotrowski wrote:

This patch fixes 56 sparse "ignoring return value of 'device_create_file'" warnings. It also adds error handling.

w83627hf.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 80 insertions(+), 16 deletions(-)



Ideally, you should have checked here (LM-Sensors ML) 1st.
The driver you chose has already been reworked along those lines,
and accepted by Jean Delvare, and thus slated for .19

an early copy (8/02)

If youre so inclined, there are ~38 others in need
of similar attention ;)

<cp-pasted from ML thread>
Here is asb100.c... I'll add lm75, lm78, smsc47b397, and w83627hf
to this patch as I have time. (Jean: don't apply yet.)

pc87360 (one of the larger offenders) is also now fixed.

Im sure if you ask nicely, Jean will provide you with
a current/authoritative list ;-)
has a fairly current collection and series-file (8/14/06)
Unfortunately, the series doesnt enumerate the patches
as a set, and several accepted patches arent there yet.
Jean, is this still the best/good place to keep current ?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at