Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127
b: refs/heads/master
c: 31143a1
h: refs/heads/master
i:
  125: e7bc6be
  123: b7dfb3a
  119: 5619ea1
  111: c926d6d
  95: 93d9527
  63: decae11
v: v3
  • Loading branch information
Bert Wesarg authored and Linus Torvalds committed Apr 16, 2005
1 parent 044d6b3 commit 638136b
Show file tree
Hide file tree
Showing 2 changed files with 3 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: fc9c9ab22d5650977c417ef2032d02f455011b23
refs/heads/master: 31143a12044caa3521edafd736e3bc18c098d2fd
3 changes: 2 additions & 1 deletion trunk/kernel/params.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,10 @@ int param_array(const char *name,
int param_array_set(const char *val, struct kernel_param *kp)
{
struct kparam_array *arr = kp->arg;
unsigned int temp_num;

return param_array(kp->name, val, 1, arr->max, arr->elem,
arr->elemsize, arr->set, arr->num ?: &arr->max);
arr->elemsize, arr->set, arr->num ?: &temp_num);
}

int param_array_get(char *buffer, struct kernel_param *kp)
Expand Down

0 comments on commit 638136b

Please sign in to comment.