[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100128184423.40ce38fb.sfr@canb.auug.org.au>
Date: Thu, 28 Jan 2010 18:44:23 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: "David S. Miller" <davem@...emloft.net>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: sparc tree build warning
Hi Dave,
On Mon, 14 Dec 2009 16:33:38 +1100 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> Today's linux-next build (sparc defconfig) produced this warning:
>
> In file included from arch/sparc/include/asm/uaccess.h:7,
> from include/net/checksum.h:26,
> from include/linux/skbuff.h:29,
> from net/core/pktgen.c:141:
> In function 'copy_from_user',
> inlined from 'pktgen_if_write' at net/core/pktgen.c:867:
> arch/sparc/include/asm/uaccess_32.h:276: warning: call to 'copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct
>
> and many more.
>
> The sparc64 defconfig build produced many similar warnings:
>
> In file included from arch/sparc/include/asm/uaccess.h:5,
> from include/linux/uaccess.h:6,
> from include/linux/highmem.h:7,
> from include/linux/pagemap.h:11,
> from include/linux/mempolicy.h:63,
> from mm/mempolicy.c:69:
> arch/sparc/include/asm/uaccess_64.h: In function 'compat_sys_get_mempolicy':
> arch/sparc/include/asm/uaccess_64.h:232: warning: call to 'copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct
I am still seeing these. Is it my compiler version (gcc4.4.0)?
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists