]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97e60ce32a997d7d364ae22c5538f1a0c67f6d40
tree38017a99a7a52f305f577de4806cd822b49fa12c
parentf17fc3f6dfe5f048b4cdc60a7f119253cbdf38c9
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