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>
1 parent a66e387 commit 300ad58d334d1aaa27c9cf02f0d7792a14dc1828
@Sascha Hauer Sascha Hauer authored on 23 May 2019
Showing 1 changed file
View
commands/mw.c