[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201210091208.55090.arnd@arndb.de>
Date: Tue, 9 Oct 2012 12:08:54 +0000
From: Arnd Bergmann <arnd@...db.de>
To: Greg Ungerer <gerg@...pgear.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
arm@...nel.org, Greg Ungerer <gerg@...inux.org>,
Russell King <rmk+kernel@....linux.org.uk>
Subject: Re: [PATCH 01/16] ARM: warnings in arch/arm/include/asm/uaccess.h
On Monday 08 October 2012, Greg Ungerer wrote:
> On 06/10/12 00:55, Arnd Bergmann wrote:
> > On NOMMU ARM, the __addr_ok() and __range_ok() macros do not evaluate
> > their arguments, which may lead to harmless build warnings in some
> > code where the variables are not used otherwise. Adding a cast to void
> > gets rid of the warning and does not make any semantic changes.
> >
> > Without this patch, building at91x40_defconfig results in:
> >
> > fs/read_write.c: In function 'rw_copy_check_uvector':
> > fs/read_write.c:684:9: warning: unused variable 'buf' [-Wunused-variable]
> >
> > Signed-off-by: Arnd Bergmann <arnd@...db.de>
> > Cc: Greg Ungerer <gerg@...inux.org>
> > Cc: Russell King <rmk+kernel@....linux.org.uk>
>
> Acked-by: Greg Ungerer <gerg@...inux.org>
Thanks!
> I can pick it up and push to the arm-soc tree.
Well, my idea was that I would prefer the patches go through some other tree
besides arm-soc since they are not really the main purpose for this tree.
The core ARM patches in particular should go through Russell's ARM tree.
I have a few more that come in during the merge window and plan to send
him a pull request for those.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists