I like the patch, but why not go all the way?
Am 05.12.2010 18:49 schrieb Alexey Dobriyan:
Once type and value are u8, the checks for < 256 are unnecessary.
The new kstrtoul() promises not to touch the result field in the event
of a conversion error, so &event->parameter can be passed directly to
it, getting rid of the variables rc and res and the if statement.
Thanks,
Tilman
--