lkml.org 
[lkml]   [2010]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warning after merge of the i2c tree
Hi Jean,

After merging the i2c tree, today's linux-next build (powerpc
ppc64_defconfig) produced warnings like this:

In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from drivers/i2c/i2c-boardinfo.c:19:
arch/powerpc/include/asm/bitops.h:226: warning: declaration of 'ffs' shadows a built-in function

The x86_64 allmodconfig produces similar:

In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from next/drivers/i2c/i2c-boardinfo.c:19:
arch/x86/include/asm/bitops.h:395: warning: declaration of 'ffs' shadows a built-in function

Exposed by commit fa4f62e9f3a85490aebe8857e2208c37da851ce3 ("i2c: Build
core and algo drivers with -Wshadow").

Jean, I realise that these warnings are not something your tree has
added, just that you have exposed them. They are a bit annoying,
though. I am using gcc v4.4.3.

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2010-02-17 01:41    [W:0.026 / U:1.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site