staging: xgifb: check and report invalid option values
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 29 Aug 2011 20:14:23 +0000 (23:14 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 18:41:21 +0000 (11:41 -0700)
commitd27c6bc9f4f4250b006b26ee4458b416676580b7
tree38017a99a7a52f305f577de4806cd822b49fa12c
parent7b0a95f89cdfa831995d14cf4fd97cbd0ee80460
staging: xgifb: check and report invalid option values

Check option values with kstrtoul(). This will also eliminate some
checkpatch warnings about simple_strtoul() usage.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_main_26.c