LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: "Hartkopp, Oliver (K-EFE/E)" <oliver.hartkopp@volkswagen.de>,
linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.24 please] pnpacpi: print resource shortage message only once (more)
Date: Mon, 14 Jan 2008 12:43:53 -0500 [thread overview]
Message-ID: <200801141243.53513.lenb@kernel.org> (raw)
In-Reply-To: <71A66C381173F7418BA6E78EE9E33465AC02EC@vwagwox00011.vw.vwg>
From: Len Brown <len.brown@intel.com>
Wups, previous patch was ineffective in 2 cases.
http://bugzilla.kernel.org/show_bug.cgi?id=9535
Signed-off-by: Len Brown <len.brown@intel.com>
---
Thanks for noticing, Oliver!
diff --git a/drivers/pnp/pnpacpi/rsparser.c b/drivers/pnp/pnpacpi/rsparser.c
index f7b8648..6b9840c 100644
--- 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;
}
}
prev parent reply other threads:[~2008-01-14 17:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 12:58 Missing 'warned = 1' in your latest linux-2.6 commit Hartkopp, Oliver (K-EFE/E)
2008-01-14 17:43 ` Len Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200801141243.53513.lenb@kernel.org \
--to=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oliver.hartkopp@volkswagen.de \
--cc=torvalds@osdl.org \
--subject='Re: [PATCH 2.6.24 please] pnpacpi: print resource shortage message only once (more)' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).