Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277939
b: refs/heads/master
c: 25a92b1
h: refs/heads/master
i:
  277937: 15d391a
  277935: 754f62a
v: v3
  • Loading branch information
Sven Eckelmann committed Nov 20, 2011
1 parent c3bd322 commit 46fcdf8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87944973d97c8792e3904dab78537cbdfb715cb2
refs/heads/master: 25a92b138dcd1eb46e82d1afdf03fd787837c019
4 changes: 2 additions & 2 deletions trunk/net/batman-adv/bat_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static int store_uint_attr(const char *buff, size_t count,
unsigned long uint_val;
int ret;

ret = strict_strtoul(buff, 10, &uint_val);
ret = kstrtoul(buff, 10, &uint_val);
if (ret) {
bat_info(net_dev,
"%s: Invalid parameter received: %s\n",
Expand Down Expand Up @@ -239,7 +239,7 @@ static ssize_t store_vis_mode(struct kobject *kobj, struct attribute *attr,
unsigned long val;
int ret, vis_mode_tmp = -1;

ret = strict_strtoul(buff, 10, &val);
ret = kstrtoul(buff, 10, &val);

if (((count == 2) && (!ret) && (val == VIS_TYPE_CLIENT_UPDATE)) ||
(strncmp(buff, "client", 6) == 0) ||
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/batman-adv/gateway_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ static bool parse_gw_bandwidth(struct net_device *net_dev, char *buff,
*tmp_ptr = '\0';
}

ret = strict_strtol(buff, 10, &ldown);
ret = kstrtol(buff, 10, &ldown);
if (ret) {
bat_err(net_dev,
"Download speed of gateway mode invalid: %s\n",
Expand All @@ -122,7 +122,7 @@ static bool parse_gw_bandwidth(struct net_device *net_dev, char *buff,
*tmp_ptr = '\0';
}

ret = strict_strtol(slash_ptr + 1, 10, &lup);
ret = kstrtol(slash_ptr + 1, 10, &lup);
if (ret) {
bat_err(net_dev,
"Upload speed of gateway mode invalid: "
Expand Down

0 comments on commit 46fcdf8

Please sign in to comment.