Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189103
b: refs/heads/master
c: 9713ab2
h: refs/heads/master
i:
  189101: f9d558e
  189099: d6f8776
  189095: f47c92b
  189087: d32a58d
v: v3
  • Loading branch information
Dominik Brodowski committed Mar 23, 2010
1 parent 8cc116b commit 629343f
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 5cbb2b941d2cc77e6b915e8e55d375be632c9f6a
refs/heads/master: 9713ab28ec92d0c44b2ac5765dfc26c619d9cadd
7 changes: 7 additions & 0 deletions trunk/drivers/pcmcia/rsrc_nonstatic.c
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,13 @@ static int adjust_io(struct pcmcia_socket *s, unsigned int action, unsigned long
unsigned long size = end - start + 1;
int ret = 0;

#if defined(CONFIG_X86)
/* on x86, avoid anything < 0x100 for it is often used for
* legacy platform devices */
if (start < 0x100)
start = 0x100;
#endif

if (end < start)
return -EINVAL;

Expand Down

0 comments on commit 629343f

Please sign in to comment.