From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: David John <davidjon@xenontk.org>
Cc: torvalds@linux-foundation.org, elendil@planet.nl,
linux-kernel@vger.kernel.org, yinghai@kernel.org
Subject: Re: [PATCH v2] Remove Spurious PnP Memory Reserved Warning
Date: Tue, 28 Jul 2009 09:31:37 -0700 [thread overview]
Message-ID: <20090728093137.52575d8c@jbarnes-g45> (raw)
In-Reply-To: <1248753983-4334-1-BlackWidow-davidjon@xenontk.org>
On Tue, 28 Jul 2009 09:36:23 +0530
David John <davidjon@xenontk.org> wrote:
> Remove unnecessary complaints by the PnP sub-system about memory
> ranges being reserved.
>
> Signed-off-by: David John <davidjon@xenontk.org>
>
> diff --git a/drivers/pnp/system.c b/drivers/pnp/system.c
> index 59b9092..84ee297 100644
> --- a/drivers/pnp/system.c
> +++ b/drivers/pnp/system.c
> @@ -48,10 +48,11 @@ static void reserve_range(struct pnp_dev *dev,
> resource_size_t start,
> * example do reserve stuff they know about too, so we may
> well
> * have double reservations.
> */
> - dev_info(&dev->dev, "%s range 0x%llx-0x%llx %s reserved\n",
> - port ? "ioport" : "iomem",
> - (unsigned long long) start, (unsigned long long) end,
> - res ? "has been" : "could not be");
> + if (res) {
> + dev_info(&dev->dev, "%s range 0x%llx-0x%llx has been
> "
> + "reserved\n", port ? "ioport" :
> "iomem",
> + (unsigned long long) start, (unsigned long
> long) end);
> + }
> }
>
> static void reserve_resources_of_dev(struct pnp_dev *dev)
I'm inclined to keep the message, since it's just a dev_info and does
provide interesting info sometimes. So unless Linus wants to kill
it...
Jesse
--
Jesse Barnes, Intel Open Source Technology Center
next prev parent reply other threads:[~2009-07-28 16:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-23 2:44 Linux 2.6.31-rc4 Linus Torvalds
2009-07-23 14:14 ` Linux 2.6.31-rc4: strange change in iomem allocation Frans Pop
2009-07-23 14:42 ` Yinghai Lu
2009-07-23 15:57 ` Jesse Barnes
2009-07-23 14:53 ` Frans Pop
2009-07-23 16:12 ` Linus Torvalds
2009-07-23 16:29 ` Linus Torvalds
2009-07-24 4:34 ` David John
2009-07-24 5:51 ` Kind of like the following. Apply if you feel it is ok to _not_ David John
2009-07-24 7:53 ` [PATCH?] Re: Linux 2.6.31-rc4: strange change in iomem allocation Frans Pop
2009-07-24 6:11 ` [PATCH] Remove Spurious PnP Memory Reserved Warning David John
2009-07-25 7:12 ` David John
2009-07-28 4:06 ` [PATCH v2] " David John
2009-07-28 16:31 ` Jesse Barnes [this message]
2009-07-29 6:42 ` David John
2009-08-01 10:56 ` Frans Pop
2009-08-06 21:41 ` Jesse Barnes
2009-07-23 17:21 ` Linux 2.6.31-rc4 Krzysztof Olędzki
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=20090728093137.52575d8c@jbarnes-g45 \
--to=jbarnes@virtuousgeek.org \
--cc=davidjon@xenontk.org \
--cc=elendil@planet.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=yinghai@kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox