Re: [PATCH 2/2] Hwmon: f71882fg: use strict_stro(l|ul) instead of simple_strto$1

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jean Delvare
Date: Monday, March 22, 2010 - 3:23 am

On Sun, 21 Mar 2010 16:37:14 +0100, Giel van Schijndel wrote:

That's not correct. You want to return an error if strict_strtol()
returns _any_ error, not just -EINVAL. Maybe the current implementation
can't return any other error code, but you should not assume this will
always be the case in the future.



-- 
Jean Delvare
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] Hwmon: f71882fg: fixed braces coding style issues, Giel van Schijndel, (Sun Mar 21, 8:37 am)
[PATCH 2/2] Hwmon: f71882fg: use strict_stro(l|ul) instead ..., Giel van Schijndel, (Sun Mar 21, 8:37 am)
Re: [PATCH 2/2] Hwmon: f71882fg: use strict_stro(l|ul) ins ..., Jean Delvare, (Mon Mar 22, 3:23 am)
Re: [PATCH 2/2] Hwmon: f71882fg: use strict_stro(l|ul) ins ..., Giel van Schijndel, (Mon Mar 22, 4:41 am)