Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350367
b: refs/heads/master
c: f3eb839
h: refs/heads/master
i:
  350365: 69d52e9
  350363: 04494a8
  350359: 943530a
  350351: f354137
  350335: 1f00c46
v: v3
  • Loading branch information
Dimitris Papastamos authored and Mark Brown committed Feb 8, 2013
1 parent 3b12203 commit 02506fc
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: a3471469bcba61f8f18ca4c267b0cdd90a61e035
refs/heads/master: f3eb83994cb4c172ce5028b5ae7ea08462cc3f1d
2 changes: 1 addition & 1 deletion trunk/drivers/base/regmap/regmap-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ static ssize_t regmap_read_debugfs(struct regmap *map, unsigned int from,
/* If we're in the region the user is trying to read */
if (p >= *ppos) {
/* ...but not beyond it */
if (buf_pos + 1 + map->debugfs_tot_len >= count)
if (buf_pos + map->debugfs_tot_len > count)
break;

/* Format the register */
Expand Down

0 comments on commit 02506fc

Please sign in to comment.