Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23533
b: refs/heads/master
c: 9871728
h: refs/heads/master
i:
  23531: 62228de
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Mar 25, 2006
1 parent 9e36e5e commit e0a50c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 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: 8d3b33f67fdc0fb364a1ef6d8fbbea7c2e4e6c98
refs/heads/master: 9871728b756646e0d758a966ba00f2c0ff812817
7 changes: 0 additions & 7 deletions trunk/include/linux/moduleparam.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,6 @@ extern int param_array_get(char *buffer, struct kernel_param *kp);
extern int param_set_copystring(const char *val, struct kernel_param *kp);
extern int param_get_string(char *buffer, struct kernel_param *kp);

int param_array(const char *name,
const char *val,
unsigned int min, unsigned int max,
void *elem, int elemsize,
int (*set)(const char *, struct kernel_param *kp),
int *num);

/* for exporting parameters in /sys/parameters */

struct module;
Expand Down
12 changes: 6 additions & 6 deletions trunk/kernel/params.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@ int param_get_invbool(char *buffer, struct kernel_param *kp)
}

/* We cheat here and temporarily mangle the string. */
int param_array(const char *name,
const char *val,
unsigned int min, unsigned int max,
void *elem, int elemsize,
int (*set)(const char *, struct kernel_param *kp),
int *num)
static int param_array(const char *name,
const char *val,
unsigned int min, unsigned int max,
void *elem, int elemsize,
int (*set)(const char *, struct kernel_param *kp),
int *num)
{
int ret;
struct kernel_param kp;
Expand Down

0 comments on commit e0a50c1

Please sign in to comment.