Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1271041
| From | Herbert Xu <herbert@gondor.apana.org.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/4] crypto: hifn_795x: replace simple_strtoul by kstrtouint |
| Date | 2015-11-17 11:10 +0100 |
| Message-ID | <qvLn4-3DL-41@gated-at.bofh.it> (permalink) |
| References | <qmi0W-2WT-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 1/4] crypto: hifn_795x: replace simple_strtoul by kstrtouint Herbert Xu <herbert@gondor.apana.org.au> - 2015-11-17 11:10 +0100
csiph-web