Re: [Linuxwacom-devel] [PATCH v4 1/5] Change signature of convert_value_from_user

2011-03-14 Thread Peter Hutterer
On Mon, Mar 14, 2011 at 04:19:24PM -0700, Jason Gerecke wrote: > Have it return true/false to indicate conversion success/failure. > Note that in its current state the function cannot tell if there > was a conversion failure... > > Signed-off-by: Jason Gerecke > --- > Changes from v3: > > * Le

[Linuxwacom-devel] [PATCH v4 1/5] Change signature of convert_value_from_user

2011-03-14 Thread Jason Gerecke
Have it return true/false to indicate conversion success/failure. Note that in its current state the function cannot tell if there was a conversion failure... Signed-off-by: Jason Gerecke --- Changes from v3: * Less PEBKAC. (no default needed on our int val...) tools/xsetwacom.c | 36 +