Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114458
b: refs/heads/master
c: 2b107d6
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Kosina committed Oct 14, 2008
1 parent 70191a8 commit 8ccf4f0
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d92870ddd248e8c2562a8c4047885d3ad221ece7
refs/heads/master: 2b107d629dc0c35de606bb7b010b829cd247a93a
2 changes: 1 addition & 1 deletion trunk/drivers/hid/hidraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static ssize_t hidraw_write(struct file *file, const char __user *buffer, size_t
if (!dev->hid_output_raw_report)
return -ENODEV;

if (count > HID_MIN_BUFFER_SIZE) {
if (count > HID_MAX_BUFFER_SIZE) {
printk(KERN_WARNING "hidraw: pid %d passed too large report\n",
task_pid_nr(current));
return -EINVAL;
Expand Down

0 comments on commit 8ccf4f0

Please sign in to comment.