tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: f359287765c04711ff54fbd11645271d8e5ff763
commit: 5b49c82dadfe0f3741778f57385f964ec1514863 csky: Add PCI support
date: 3 months ago
config: csky-randconfig-r024-20200602 (attached as .config)
compiler: csky-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 5b49c82dadfe0f3741778f57385f964ec1514863
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross
ARCH=csky
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/module.h:12,
from drivers/net/ethernet/intel/e1000/e1000.h:10,
from drivers/net/ethernet/intel/e1000/e1000_main.c:4:
include/asm-generic/fixmap.h: In function 'fix_to_virt':
include/asm-generic/fixmap.h:32:19: warning: comparison of unsigned expression
>= 0 is always true [-Wtype-limits]
32 | BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
| ^~
include/linux/compiler.h:330:9: note: in definition of macro
'__compiletime_assert'
330 | if (!(condition)) | ^
include/linux/compiler.h:350:2: note: in expansion of macro
'_compiletime_assert'
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
| ^~~
include/linux/build_bug.h:39:37: note: in expansion of macro
'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~
include/asm-generic/fixmap.h:32:2: note: in expansion of macro 'BUILD_BUG_ON'
32 | BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
| ^~~~
In file included from drivers/net/ethernet/intel/e1000/e1000_hw.h:11,
from drivers/net/ethernet/intel/e1000/e1000.h:54,
from drivers/net/ethernet/intel/e1000/e1000_main.c:4:
drivers/net/ethernet/intel/e1000/e1000_osdep.h: At top level:
>> drivers/net/ethernet/intel/e1000/e1000_osdep.h:13: warning:
>> "CONFIG_RAM_BASE" redefined
13 | #define CONFIG_RAM_BASE 0x6
|
In file included from include/linux/kconfig.h:5,
from :
./include/generated/autoconf.h:1690: note: this is the location of the previous
definition
1690 | #define CONFIG_RAM_BASE 0x0
|
--
In file included from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/module.h:12,
from drivers/net/ethernet/intel/e1000/e1000.h:10,
from drivers/net/ethernet/intel/e1000/e1000_hw.c:8:
include/asm-generic/fixmap.h: In function 'fix_to_virt':
include/asm-generic/fixmap.h:32:19: warning: comparison of unsigned expression
>= 0 is always true [-Wtype-limits]
32 | BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
| ^~
include/linux/compiler.h:330:9: note: in definition of macro
'__compiletime_assert'
330 | if (!(condition)) | ^
include/linux/compiler.h:350:2: note: in expansion of macro
'_compiletime_assert'
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
| ^~~
include/linux/build_bug.h:39:37: note: in expansion of macro
'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~
include/asm-generic/fixmap.h:32:2: note: in expansion of macro 'BUILD_BUG_ON'
32 | BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
| ^~~~
In file included from drivers/net/ethernet/intel/e1000/e1000_hw.h:11,
from drivers/net/ethernet/intel/e1000/e1000.h:54,
from drivers/net/ethernet/intel/e1000/e1000_hw.c:8:
drivers/net/ethernet/intel/e1000/e1000_osdep.h: At top level:
>> drivers/net/ethernet/intel/e1000/e1000_osdep.h:13: warning:
>> "CONFIG_RAM_BASE" redefined
13 | #define CONFIG_RAM_BASE 0x6
|
In file included from include/linux/kconfig.h:5,
from :
./include/generated/autoconf.h:1690: note: this is the location of the previous
definition
1690 | #define CONFIG_RAM_BASE 0x0
|
drivers/net/ethernet/intel/e1000/e1000_hw.c: In function
'e1000_phy_init_script':
drivers/net/ethernet/intel/e1000/e1000_hw.c:132:6: warning: variable 'ret_val'
set but not used [-Wunused-but-set-variable]
132 | u32 ret_val;
| ^~~
drivers/net/ethernet/intel/e1000/e1000_