projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46a39c1
)
pnpacpi: print resource shortage message only once (more)
author
Len Brown
<
[email protected]
>
Thu, 17 Jan 2008 23:21:10 +0000
(15:21 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 17 Jan 2008 23:38:58 +0000
(15:38 -0800)
Wups, previous patch was ineffective in 2 cases.
http://bugzilla.kernel.org/show_bug.cgi?id=9535
Signed-off-by: Len Brown <
[email protected]
>
Reported-by: "Hartkopp, Oliver (K-EFE/E)" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/pnp/pnpacpi/rsparser.c
patch
|
blob
|
history
diff --git
a/drivers/pnp/pnpacpi/rsparser.c
b/drivers/pnp/pnpacpi/rsparser.c
index f7b8648acbfa4bf863d0cdd16c5769e544e3d199..6b9840cce0f4a8cdf9b1a2a51c48e186e53015f2 100644
(file)
--- a/
drivers/pnp/pnpacpi/rsparser.c
+++ b/
drivers/pnp/pnpacpi/rsparser.c
@@
-215,6
+215,7
@@
static void pnpacpi_parse_allocated_ioresource(struct pnp_resource_table *res,
} else if (!warned) {
printk(KERN_ERR "pnpacpi: exceeded the max number of IO "
"resources: %d \n", PNP_MAX_PORT);
+ warned = 1;
}
}
@@
-242,6
+243,7
@@
static void pnpacpi_parse_allocated_memresource(struct pnp_resource_table *res,
} else if (!warned) {
printk(KERN_ERR "pnpacpi: exceeded the max number of mem "
"resources: %d\n", PNP_MAX_MEM);
+ warned = 1;
}
}