projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a73301
)
crypto: picoxcell - replace strict_strtoul() with kstrtoul()
author
Jingoo Han
<jg1.han@samsung.com>
Sat, 1 Jun 2013 07:05:57 +0000
(16:05 +0900)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 5 Jun 2013 08:43:08 +0000
(16:43 +0800)
The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/picoxcell_crypto.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/picoxcell_crypto.c
b/drivers/crypto/picoxcell_crypto.c
index ac30724d923d4d0fef56fec1e7ad37dbec747402..888f7f4a6d3fa29a36c26a1ee1119428164d9df9 100644
(file)
--- a/
drivers/crypto/picoxcell_crypto.c
+++ b/
drivers/crypto/picoxcell_crypto.c
@@
-1298,7
+1298,7
@@
static ssize_t spacc_stat_irq_thresh_store(struct device *dev,
struct spacc_engine *engine = spacc_dev_to_engine(dev);
unsigned long thresh;
- if (
strict_
strtoul(buf, 0, &thresh))
+ if (
k
strtoul(buf, 0, &thresh))
return -EINVAL;
thresh = clamp(thresh, 1UL, engine->fifo_sz - 1);