Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189949
b: refs/heads/master
c: 39a37ce
h: refs/heads/master
i:
  189947: 7f81fe3
v: v3
  • Loading branch information
Dan Carpenter authored and Joerg Roedel committed Apr 7, 2010
1 parent db6b383 commit a335be4
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: 12ff4bf58b64ad3b8fb8e27889c99dcd5aa6fb0b
refs/heads/master: 39a37ce1cc5eef420604fa68b776ff5dab400340
2 changes: 1 addition & 1 deletion trunk/lib/dma-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ static ssize_t filter_write(struct file *file, const char __user *userbuf,
* Now parse out the first token and use it as the name for the
* driver to filter for.
*/
for (i = 0; i < NAME_MAX_LEN; ++i) {
for (i = 0; i < NAME_MAX_LEN - 1; ++i) {
current_driver_name[i] = buf[i];
if (isspace(buf[i]) || buf[i] == ' ' || buf[i] == 0)
break;
Expand Down

0 comments on commit a335be4

Please sign in to comment.