projects
/
archipelago
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82aa190
)
kstrtoul to strict_strtoul for old kernel support
author
Georgios D. Tsoukalas
<gtsouk@cslab.ece.ntua.gr>
Tue, 5 Jun 2012 18:30:58 +0000
(21:30 +0300)
committer
Stratos Psomadakis
<psomas@grnet.gr>
Wed, 6 Jun 2012 11:59:54 +0000
(14:59 +0300)
xseg/peers/kernel/xsegbd.c
patch
|
blob
|
history
diff --git
a/xseg/peers/kernel/xsegbd.c
b/xseg/peers/kernel/xsegbd.c
index
5ee7af4
..
69c5f93
100644
(file)
--- a/
xseg/peers/kernel/xsegbd.c
+++ b/
xseg/peers/kernel/xsegbd.c
@@
-839,7
+839,7
@@
static ssize_t xsegbd_remove(struct bus_type *bus, const char *buf, size_t count
int id, ret;
unsigned long ul_id;
- ret = kstrtoul(buf, 10, &ul_id);
+ ret = strict_strtoul(buf, 10, &ul_id);
if (ret)
return ret;