All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Michael Borisov <niro@tut.by>
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jeremy Fitzhardinge <jeremy@goop.org>,
	the arch/x86 maintainers <x86@kernel.org>
Subject: Re: [PATCH] fix warning in arch/x86/mm/pgtable.c
Date: Mon, 28 Jul 2008 16:06:30 +0000	[thread overview]
Message-ID: <20080728160630.GA17669@elte.hu> (raw)
In-Reply-To: <1217091007.6107.8.camel@inlin>


* Michael Borisov <niro@tut.by> wrote:

> This patch fixes the following compile warning:
> 
> arch/x86/mm/pgtable.c: In function ‘pgd_mop_up_pmds’:
> arch/x86/mm/pgtable.c:194: warning: unused variable ‘pmd’

> -               pmd_t *pmd = (pmd_t *)get_zeroed_page(GFP_KERNEL|
> __GFP_REPEAT);
> +               pmd_t *pmd;
> +               pmd = (pmd_t *)get_zeroed_page(GFP_KERNEL|__GFP_REPEAT);

what gcc version are you using? Seems to be a compiler bug.

	Ingo

WARNING: multiple messages have this Message-ID (diff)
From: Ingo Molnar <mingo@elte.hu>
To: Michael Borisov <niro@tut.by>
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jeremy Fitzhardinge <jeremy@goop.org>,
	the arch/x86 maintainers <x86@kernel.org>
Subject: Re: [PATCH] fix warning in arch/x86/mm/pgtable.c
Date: Mon, 28 Jul 2008 18:06:30 +0200	[thread overview]
Message-ID: <20080728160630.GA17669@elte.hu> (raw)
In-Reply-To: <1217091007.6107.8.camel@inlin>


* Michael Borisov <niro@tut.by> wrote:

> This patch fixes the following compile warning:
> 
> arch/x86/mm/pgtable.c: In function ‘pgd_mop_up_pmds’:
> arch/x86/mm/pgtable.c:194: warning: unused variable ‘pmd’

> -               pmd_t *pmd = (pmd_t *)get_zeroed_page(GFP_KERNEL|
> __GFP_REPEAT);
> +               pmd_t *pmd;
> +               pmd = (pmd_t *)get_zeroed_page(GFP_KERNEL|__GFP_REPEAT);

what gcc version are you using? Seems to be a compiler bug.

	Ingo

  reply	other threads:[~2008-07-28 16:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-26 16:50 [PATCH] fix warning in arch/x86/mm/pgtable.c Michael Borisov
2008-07-26 16:50 ` Michael Borisov
2008-07-28 16:06 ` Ingo Molnar [this message]
2008-07-28 16:06   ` Ingo Molnar

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=20080728160630.GA17669@elte.hu \
    --to=mingo@elte.hu \
    --cc=jeremy@goop.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=niro@tut.by \
    --cc=x86@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.