Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261845
b: refs/heads/master
c: 88efd0b
h: refs/heads/master
i:
  261843: d8ad55c
v: v3
  • Loading branch information
Geert Uytterhoeven committed Jul 30, 2011
1 parent 39f9c79 commit 4bd41bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 1dad6c7bd7dd158ef874f7382615cedc21a1f48d
refs/heads/master: 88efd0bbc0fe403a9948e6f94cc48b9f15ee4861
4 changes: 2 additions & 2 deletions trunk/arch/sparc/kernel/ioport.c
Original file line number Diff line number Diff line change
Expand Up @@ -723,12 +723,12 @@ static const struct file_operations sparc_io_proc_fops = {
* This probably warrants some sort of hashing.
*/
static struct resource *_sparc_find_resource(struct resource *root,
unsigned long hit)
unsigned long start)
{
struct resource *tmp;

for (tmp = root->child; tmp != 0; tmp = tmp->sibling) {
if (tmp->start <= hit && tmp->end >= hit)
if (tmp->start == start)
return tmp;
}
return NULL;
Expand Down

0 comments on commit 4bd41bf

Please sign in to comment.