commands: mw: Use kstrto*() instead of simple_strtoul()
Now that we have the kstrto*() functions we can use them to detect various errors in passing numbers on the command line. Start with the 'mw' command and make it more robust against illegal numbers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
commands/mw.c |
---|