Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203761
b: refs/heads/master
c: 7b7b0b9
h: refs/heads/master
i:
  203759: 003284c
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Jul 27, 2010
1 parent d34c059 commit c078dfd
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 652c6717465dbd0091dbe04ed9be2f7e59c03c7d
refs/heads/master: 7b7b0b90592a023ac8946b29cca871bf17741fab
3 changes: 3 additions & 0 deletions trunk/drivers/net/caif/caif_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ static ssize_t dbgfs_state(struct file *file, char __user *user_buf,
len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len),
"Next RX len: %d\n", cfspi->rx_npck_len);

if (len > DEBUGFS_BUF_SIZE)
len = DEBUGFS_BUF_SIZE;

size = simple_read_from_buffer(user_buf, count, ppos, buf, len);
kfree(buf);

Expand Down

0 comments on commit c078dfd

Please sign in to comment.