From: Paul Mackerras <paulus@samba.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: ppc-dev <linuxppc-dev@ozlabs.org>
Subject: Re: [PATCH] [POWERPC] fix non HUGETLB_PAGE build warning
Date: Thu, 17 May 2007 15:16:00 +1000 [thread overview]
Message-ID: <17995.58640.165251.501487@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <20070514141136.39a76d32.sfr@canb.auug.org.au>
Stephen Rothwell writes:
> arch/powerpc/mm/mmu_context_64.c: In function 'init_new_context':
> arch/powerpc/mm/mmu_context_64.c:31: warning: unused variable 'new_context'
> +#ifdef CONFIG_PPC_MM_SLICES
> int new_context = (mm->context.id == 0);
> +#endif
Could we use __unused to suppress the warning instead?
Paul.
next prev parent reply other threads:[~2007-05-17 5:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-14 4:11 [PATCH] [POWERPC] fix non HUGETLB_PAGE build warning Stephen Rothwell
2007-05-17 5:16 ` Paul Mackerras [this message]
2007-05-17 6:03 ` Stephen Rothwell
-- strict thread matches above, loose matches on Subject: below --
2007-08-15 6:33 Stephen Rothwell
2007-08-16 3:55 ` David Gibson
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=17995.58640.165251.501487@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=sfr@canb.auug.org.au \
/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;
as well as URLs for NNTP newsgroup(s).