From: Boaz Harrosh <bharrosh@panasas.com>
To: Richard Weinberger <richard@nod.at>,
uml-devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] [PATCH ] um: uml_setup_stubs': warning: unused variable 'pages'
Date: Mon, 26 Mar 2012 19:20:17 -0700 [thread overview]
Message-ID: <4F7123E1.6080804@panasas.com> (raw)
In-Reply-To: <4F71236E.6040400@panasas.com>
On 03/26/2012 07:18 PM, Boaz Harrosh wrote:
>
> Fix the following gcc complain
> arch/um/kernel/skas/mmu.c: In function 'uml_setup_stubs':
> arch/um/kernel/skas/mmu.c:106:16: warning: unused variable 'pages' [-Wunused-variable]
>
I get this on today's linus tree. If a fix is already queued please ignore
Thanks
Boaz
> Signed-Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
> ---
> arch/um/kernel/skas/mmu.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/arch/um/kernel/skas/mmu.c b/arch/um/kernel/skas/mmu.c
> index 4947b31..0a49ef0 100644
> --- a/arch/um/kernel/skas/mmu.c
> +++ b/arch/um/kernel/skas/mmu.c
> @@ -103,7 +103,6 @@ int init_new_context(struct task_struct *task, struct mm_struct *mm)
>
> void uml_setup_stubs(struct mm_struct *mm)
> {
> - struct page **pages;
> int err, ret;
>
> if (!skas_needs_stub)
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2012-03-27 2:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 2:18 [uml-devel] [PATCH ] um: uml_setup_stubs': warning: unused variable 'pages' Boaz Harrosh
2012-03-27 2:20 ` Boaz Harrosh [this message]
2012-03-27 8:27 ` Richard Weinberger
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=4F7123E1.6080804@panasas.com \
--to=bharrosh@panasas.com \
--cc=richard@nod.at \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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.