tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing head: c5176177e8607fbb7d894dab3c79b07cbd01b51b commit: c5176177e8607fbb7d894dab3c79b07cbd01b51b [1/1] can: mcp251x: Get rid of legacy platform data config: arm-zeus_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout c5176177e8607fbb7d894dab3c79b07cbd01b51b # save the attached .config to linux build tree GCC_VERSION=7.4.0 make.cross ARCH=arm If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All error/warnings (new ones prefixed by >>): In file included from arch/arm/mach-pxa/zeus.c:16:0: >> include/linux/property.h:288:1: error: incompatible types when initializing type 'const char *' using type 'struct property_entry' (struct property_entry) { \ ^ >> include/linux/property.h:300:2: note: in expansion of macro 'PROPERTY_ENTRY_INTEGER' PROPERTY_ENTRY_INTEGER(_name_, u32, U32, _val_) ^~~~~~~~~~~~~~~~~~~~~~ >> arch/arm/mach-pxa/zeus.c:432:2: note: in expansion of macro 'PROPERTY_ENTRY_U32' PROPERTY_ENTRY_U32("clock-frequency", 16000000), ^~~~~~~~~~~~~~~~~~ >> arch/arm/mach-pxa/zeus.c:433:2: warning: braces around scalar initializer {} ^ arch/arm/mach-pxa/zeus.c:433:2: note: (near initialization for 'mcp251x_properties.length') vim +288 include/linux/property.h a85f420475334c Heikki Krogerus 2015-11-30 286 63dcc7090137a8 Andy Shevchenko 2018-05-15 287 #define PROPERTY_ENTRY_INTEGER(_name_, _type_, _Type_, _val_) \ c505cbd45f6e9c Andy Shevchenko 2018-01-22 @288 (struct property_entry) { \ a85f420475334c Heikki Krogerus 2015-11-30 289 .name = _name_, \ a85f420475334c Heikki Krogerus 2015-11-30 290 .length = sizeof(_type_), \ 63dcc7090137a8 Andy Shevchenko 2018-05-15 291 .type = DEV_PROP_##_Type_, \ d76eebfa175e86 Andrew Morton 2016-01-01 292 { .value = { ._type_##_data = _val_ } }, \ a85f420475334c Heikki Krogerus 2015-11-30 293 } a85f420475334c Heikki Krogerus 2015-11-30 294 a85f420475334c Heikki Krogerus 2015-11-30 295 #define PROPERTY_ENTRY_U8(_name_, _val_) \ 63dcc7090137a8 Andy Shevchenko 2018-05-15 296 PROPERTY_ENTRY_INTEGER(_name_, u8, U8, _val_) a85f420475334c Heikki Krogerus 2015-11-30 297 #define PROPERTY_ENTRY_U16(_name_, _val_) \ 63dcc7090137a8 Andy Shevchenko 2018-05-15 298 PROPERTY_ENTRY_INTEGER(_name_, u16, U16, _val_) a85f420475334c Heikki Krogerus 2015-11-30 299 #define PROPERTY_ENTRY_U32(_name_, _val_) \ 63dcc7090137a8 Andy Shevchenko 2018-05-15 @300 PROPERTY_ENTRY_INTEGER(_name_, u32, U32, _val_) a85f420475334c Heikki Krogerus 2015-11-30 301 #define PROPERTY_ENTRY_U64(_name_, _val_) \ 63dcc7090137a8 Andy Shevchenko 2018-05-15 302 PROPERTY_ENTRY_INTEGER(_name_, u64, U64, _val_) a85f420475334c Heikki Krogerus 2015-11-30 303 :::::: The code at line 288 was first introduced by commit :::::: c505cbd45f6e9c539d57dd171d95ec7e5e9f9cd0 device property: Define type of PROPERTY_ENRTY_*() macros :::::: TO: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip