Messages in this thread | | | Date | Tue, 17 Nov 2015 18:04:18 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH 1/4] crypto: hifn_795x: replace simple_strtoul by kstrtouint |
| |
On Thu, Oct 22, 2015 at 08:51:49AM +0200, LABBE Corentin wrote: > The simple_strtoul function is marked as obsolete. > This patch replace it by kstrtouint at the cost of changing some function > return type from void to int. > > Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
If you're going to clean this up then please take one more step and store the result of req in hifn_init so that you don't have to parse it over and over agin.
Thanks, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |