Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348805
b: refs/heads/master
c: e8d6539
h: refs/heads/master
i:
  348803: 9d8d9cc
v: v3
  • Loading branch information
Mark Brown committed Jan 8, 2013
1 parent 08354a5 commit 4e26bf9
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 5bd9f4bb34c16b62725b9486a290c01b1fdfec1c
refs/heads/master: e8d6539c8a94b88fc7ca5d6bdd9eeb0e64b434e4
9 changes: 9 additions & 0 deletions trunk/drivers/base/regmap/regmap-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,15 @@ static unsigned int regmap_debugfs_get_dump_start(struct regmap *map,
}
}

/* Close the last entry off if we didn't scan beyond it */
if (c) {
c->max = p - 1;
list_add_tail(&c->list,
&map->debugfs_off_cache);
} else {
return base;
}

/*
* This should never happen; we return above if we fail to
* allocate and we should never be in this code if there are
Expand Down

0 comments on commit 4e26bf9

Please sign in to comment.