Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325321
b: refs/heads/master
c: e4c536b
h: refs/heads/master
i:
  325319: d91fe47
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Sep 17, 2012
1 parent b9c605a commit a333d06
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a09b027882414f3e75398898905ffb1525056c55
refs/heads/master: e4c536b72fd6b25c7f4f9c6f293f43ba287b8e8f
24 changes: 24 additions & 0 deletions trunk/drivers/staging/silicom/bp_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -8227,6 +8227,9 @@ set_dis_bypass_pfs(struct file *file, const char *buffer,

int bypass_param = 0, length = 0;

if (count >= sizeof(kbuf))
return -EINVAL;

if (copy_from_user(&kbuf, buffer, count)) {
return -1;
}
Expand Down Expand Up @@ -8256,6 +8259,9 @@ set_dis_tap_pfs(struct file *file, const char *buffer,

int tap_param = 0, length = 0;

if (count >= sizeof(kbuf))
return -EINVAL;

if (copy_from_user(&kbuf, buffer, count)) {
return -1;
}
Expand Down Expand Up @@ -8285,6 +8291,9 @@ set_dis_disc_pfs(struct file *file, const char *buffer,

int tap_param = 0, length = 0;

if (count >= sizeof(kbuf))
return -EINVAL;

if (copy_from_user(&kbuf, buffer, count)) {
return -1;
}
Expand Down Expand Up @@ -8374,6 +8383,9 @@ set_bypass_pwup_pfs(struct file *file, const char *buffer,

int bypass_param = 0, length = 0;

if (count >= sizeof(kbuf))
return -EINVAL;

if (copy_from_user(&kbuf, buffer, count)) {
return -1;
}
Expand Down Expand Up @@ -8403,6 +8415,9 @@ set_bypass_pwoff_pfs(struct file *file, const char *buffer,

int bypass_param = 0, length = 0;

if (count >= sizeof(kbuf))
return -EINVAL;

if (copy_from_user(&kbuf, buffer, count)) {
return -1;
}
Expand Down Expand Up @@ -8432,6 +8447,9 @@ set_tap_pwup_pfs(struct file *file, const char *buffer,

int tap_param = 0, length = 0;

if (count >= sizeof(kbuf))
return -EINVAL;

if (copy_from_user(&kbuf, buffer, count)) {
return -1;
}
Expand Down Expand Up @@ -8461,6 +8479,9 @@ set_disc_pwup_pfs(struct file *file, const char *buffer,

int tap_param = 0, length = 0;

if (count >= sizeof(kbuf))
return -EINVAL;

if (copy_from_user(&kbuf, buffer, count)) {
return -1;
}
Expand Down Expand Up @@ -8570,6 +8591,9 @@ set_std_nic_pfs(struct file *file, const char *buffer,

int bypass_param = 0, length = 0;

if (count >= sizeof(kbuf))
return -EINVAL;

if (copy_from_user(&kbuf, buffer, count)) {
return -1;
}
Expand Down

0 comments on commit a333d06

Please sign in to comment.