projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: rfkill: gpio: convert to resource managed allocation
[firefly-linux-kernel-4.4.55.git]
/
block
/
blk-sysfs.c
diff --git
a/block/blk-sysfs.c
b/block/blk-sysfs.c
index 5efc5a647183b688fe0e4312c7ad5bcb3dad403b..3aa5b195f4dd45e7519e9053cf1593197efc86bd 100644
(file)
--- a/
block/blk-sysfs.c
+++ b/
block/blk-sysfs.c
@@
-29,7
+29,7
@@
queue_var_store(unsigned long *var, const char *page, size_t count)
int err;
unsigned long v;
- err =
strict_
strtoul(page, 10, &v);
+ err =
k
strtoul(page, 10, &v);
if (err || v > UINT_MAX)
return -EINVAL;