Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251889
b: refs/heads/master
c: 52f81db
h: refs/heads/master
i:
  251887: ef81e89
v: v3
  • Loading branch information
Liu Yuan authored and Roland Dreier committed May 24, 2011
1 parent c6c2328 commit 362077f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: c3af0980ce01dfb8e946990c3ae4c3727b1e9f26
refs/heads/master: 52f81dbaf1378faf64c3ecea5129cebf826ef126
4 changes: 3 additions & 1 deletion trunk/drivers/infiniband/hw/nes/nes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,9 @@ static ssize_t nes_store_wqm_quanta(struct device_driver *ddp,
u32 i = 0;
struct nes_device *nesdev;

strict_strtoul(buf, 0, &wqm_quanta_value);
if (kstrtoul(buf, 0, &wqm_quanta_value) < 0)
return -EINVAL;

list_for_each_entry(nesdev, &nes_dev_list, list) {
if (i == ee_flsh_adapter) {
nesdev->nesadapter->wqm_quanta = wqm_quanta_value;
Expand Down

0 comments on commit 362077f

Please sign in to comment.