All of lore.kernel.org
 help / color / mirror / Atom feed
From: jim.cromie@gmail.com (Jim Cromie)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] TODO: unchecked return codes from
Date: Fri, 08 Sep 2006 00:06:03 +0000	[thread overview]
Message-ID: <4500B3EB.10309@gmail.com> (raw)
In-Reply-To: <20060830030828.GB5104@jupiter.solarsys.private>

Jean Delvare wrote:
> Restarting the list from scratch for clarity:
>
> Done by Mark M. Hoffman:
>  o adm1021
>  o adm1025
>  o adm1026
>  o adm1031
>  o adm9240
>  o asb100
>  o lm75
>  o lm77
>  o lm78
>  o lm80
>  o lm85
>  o lm87
>  o lm92
>  o smsc47b397
>  o w83627hf
>
> Done by Jim Cromie:
>  o pc87360
>
> Done by David Hubbard:
>  o w83627ehf
>
> Done by Jean Delvare:
>  o f71805f
>  o fscher
>  o fscpos
>  o gl518sm
>  o gl520sm
>  o it87
>  o lm63
>  o lm83
>  o lm90
>
> This leaves the following list:
>  o abituguru
>  o atxp1
>  o ds1621
>  o max1619
>  o sis5595
>  o smsc47m1
>  o smsc47m192
>  o via686a
>  o vt8231
>  o w83781d
>  o w83791d
>  o w83792d
>  o w83l785ts
>
> I'd like to remind everyone that this is an easy task, just look at the
> patches submitted by either Mark of me, and do the same. So if you are
> using one of the remaining drivers, please consider converting it and
> sending the patch back to us.
>
> Thanks,
>   

heres patch for w83781d, compile-tested only.
hopefully you can find someone to test it.

---

replace many calls to device_create_file by adding them to a sysfs_group.
check return status from remaining calls to device_create_file(), which are
still needed for device-model dependent attr-files.

Signed-off-by:  Jim Cromie <jim.cromie at gmail.com>

---
 w83781d.c |  196 
+++++++++++++++++++++++++++++++++++++-------------------------
 1 files changed, 117 insertions(+), 79 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hwmon-unchecked-return-status-fixes-w83781d.patch
Type: text/x-patch
Size: 10015 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060907/d962e076/attachment.bin 

  parent reply	other threads:[~2006-09-08  0:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-30  3:08 [lm-sensors] TODO: unchecked return codes from Mark M. Hoffman
2006-08-31  1:59 ` Mark M. Hoffman
2006-08-31 20:12 ` Jean Delvare
2006-09-03 13:24 ` Jean Delvare
2006-09-08  0:06 ` Jim Cromie [this message]
2006-09-21  9:14 ` Jean Delvare
2006-09-21 16:53 ` Charles Spirakis
2006-09-21 19:36 ` Jean Delvare
2006-09-22 11:52 ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4500B3EB.10309@gmail.com \
    --to=jim.cromie@gmail.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.