staging: iio: light: obsolete use of strict_strtoul v2

Dan Carpenter dan.carpenter at oracle.com
Tue Dec 13 06:33:50 UTC 2011


On Tue, Dec 13, 2011 at 12:38:20AM +0100, Johannes Tenschert wrote:
> Hi,
> 
> I changed the patch to use the right kstrto* as Dan Carpenter suggested, but
> I'm not familiar enough with the code to fix the divide by zero bug in a good
> way.
> 
> I also didn't change taos_settings because I don't know it well enough and don't
> want to introduce new bugs. So kstrtoint was used provisional to set it.

Yah, yah.  Neither of us know the code, so hopefully the iio people
can comment.

regards,
dan carpenter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20111213/35ab9160/attachment.asc>


More information about the devel mailing list