git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
agp/hp: fail gracefully if we don't find an IOC
[sfrench/cifs-2.6.git]
/
drivers
/
char
/
agp
/
hp-agp.c
diff --git
a/drivers/char/agp/hp-agp.c
b/drivers/char/agp/hp-agp.c
index dc8a6f70483b51a8f1c1945959fcf4cbc552bfaa..58752b70efead7a76ca65c1441574dfa50931a07 100644
(file)
--- a/
drivers/char/agp/hp-agp.c
+++ b/
drivers/char/agp/hp-agp.c
@@
-508,6
+508,9
@@
zx1_gart_probe (acpi_handle obj, u32 depth, void *context, void **ret)
handle = parent;
} while (ACPI_SUCCESS(status));
+ if (ACPI_FAILURE(status))
+ return AE_OK; /* found no enclosing IOC */
+
if (hp_zx1_setup(sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa))
return AE_OK;