Hi Andrey, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.11-rc4 next-20170331] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Christian-Gromm/staging-most-fix-comment-of-the-function-add_link_store/20170402-004537 config: alpha-allyesconfig (attached as .config) compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=alpha Note: the linux-review/Christian-Gromm/staging-most-fix-comment-of-the-function-add_link_store/20170402-004537 HEAD 28ff2490d393d5a8fe98d9268401e15c7400daff builds fine. It only hurts bisectibility. All error/warnings (new ones prefixed by >>): >> drivers/staging//most/mostcore/core.c:341:29: error: expected ')' before numeric constant static MOST_CHNL_ATTR(val, 0444, show_##val, NULL) ^ >> drivers/staging//most/mostcore/core.c:343:1: note: in expansion of macro 'create_show_channel_attribute' create_show_channel_attribute(available_directions); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/staging//most/mostcore/core.c:341:29: error: expected ')' before numeric constant static MOST_CHNL_ATTR(val, 0444, show_##val, NULL) ^ drivers/staging//most/mostcore/core.c:344:1: note: in expansion of macro 'create_show_channel_attribute' create_show_channel_attribute(available_datatypes); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/staging//most/mostcore/core.c:341:29: error: expected ')' before numeric constant static MOST_CHNL_ATTR(val, 0444, show_##val, NULL) ^ drivers/staging//most/mostcore/core.c:345:1: note: in expansion of macro 'create_show_channel_attribute' create_show_channel_attribute(number_of_packet_buffers); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/staging//most/mostcore/core.c:341:29: error: expected ')' before numeric constant static MOST_CHNL_ATTR(val, 0444, show_##val, NULL) ^ drivers/staging//most/mostcore/core.c:346:1: note: in expansion of macro 'create_show_channel_attribute' create_show_channel_attribute(number_of_stream_buffers); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/staging//most/mostcore/core.c:341:29: error: expected ')' before numeric constant static MOST_CHNL_ATTR(val, 0444, show_##val, NULL) ^ drivers/staging//most/mostcore/core.c:347:1: note: in expansion of macro 'create_show_channel_attribute' create_show_channel_attribute(size_of_stream_buffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/staging//most/mostcore/core.c:341:29: error: expected ')' before numeric constant static MOST_CHNL_ATTR(val, 0444, show_##val, NULL) ^ drivers/staging//most/mostcore/core.c:348:1: note: in expansion of macro 'create_show_channel_attribute' create_show_channel_attribute(size_of_packet_buffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/staging//most/mostcore/core.c:341:29: error: expected ')' before numeric constant static MOST_CHNL_ATTR(val, 0444, show_##val, NULL) ^ drivers/staging//most/mostcore/core.c:349:1: note: in expansion of macro 'create_show_channel_attribute' create_show_channel_attribute(channel_starving); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:506:3: error: 'most_chnl_attr_available_directions' undeclared here (not in a function) &most_chnl_attr_available_directions.attr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:507:3: error: 'most_chnl_attr_available_datatypes' undeclared here (not in a function) &most_chnl_attr_available_datatypes.attr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:508:3: error: 'most_chnl_attr_number_of_packet_buffers' undeclared here (not in a function) &most_chnl_attr_number_of_packet_buffers.attr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:509:3: error: 'most_chnl_attr_number_of_stream_buffers' undeclared here (not in a function) &most_chnl_attr_number_of_stream_buffers.attr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:510:3: error: 'most_chnl_attr_size_of_packet_buffer' undeclared here (not in a function) &most_chnl_attr_size_of_packet_buffer.attr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:511:3: error: 'most_chnl_attr_size_of_stream_buffer' undeclared here (not in a function) &most_chnl_attr_size_of_stream_buffer.attr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:518:3: error: 'most_chnl_attr_channel_starving' undeclared here (not in a function) &most_chnl_attr_channel_starving.attr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:333:16: warning: 'show_channel_starving' defined but not used [-Wunused-function] static ssize_t show_channel_starving(struct most_c_obj *c, ^~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:323:9: warning: 'show_size_of_stream_buffer' defined but not used [-Wunused-function] ssize_t show_size_of_stream_buffer(struct most_c_obj *c, ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:312:9: warning: 'show_size_of_packet_buffer' defined but not used [-Wunused-function] ssize_t show_size_of_packet_buffer(struct most_c_obj *c, ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:301:9: warning: 'show_number_of_stream_buffers' defined but not used [-Wunused-function] ssize_t show_number_of_stream_buffers(struct most_c_obj *c, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:290:9: warning: 'show_number_of_packet_buffers' defined but not used [-Wunused-function] ssize_t show_number_of_packet_buffers(struct most_c_obj *c, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:270:16: warning: 'show_available_datatypes' defined but not used [-Wunused-function] static ssize_t show_available_datatypes(struct most_c_obj *c, ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging//most/mostcore/core.c:255:16: warning: 'show_available_directions' defined but not used [-Wunused-function] static ssize_t show_available_directions(struct most_c_obj *c, ^~~~~~~~~~~~~~~~~~~~~~~~~ vim +/create_show_channel_attribute +343 drivers/staging//most/mostcore/core.c 57562a72 Christian Gromm 2015-07-24 335 char *buf) 57562a72 Christian Gromm 2015-07-24 336 { 57562a72 Christian Gromm 2015-07-24 337 return snprintf(buf, PAGE_SIZE, "%d\n", c->is_starving); 57562a72 Christian Gromm 2015-07-24 338 } 57562a72 Christian Gromm 2015-07-24 339 57562a72 Christian Gromm 2015-07-24 340 #define create_show_channel_attribute(val) \ 7e47629e Jason Litzinger 2016-11-25 @341 static MOST_CHNL_ATTR(val, 0444, show_##val, NULL) 57562a72 Christian Gromm 2015-07-24 342 57562a72 Christian Gromm 2015-07-24 @343 create_show_channel_attribute(available_directions); 57562a72 Christian Gromm 2015-07-24 344 create_show_channel_attribute(available_datatypes); 57562a72 Christian Gromm 2015-07-24 345 create_show_channel_attribute(number_of_packet_buffers); 57562a72 Christian Gromm 2015-07-24 346 create_show_channel_attribute(number_of_stream_buffers); :::::: The code at line 343 was first introduced by commit :::::: 57562a72414ca35b2e614cfe0a1b1a7b7e7813dd Staging: most: add MOST driver's core module :::::: TO: Christian Gromm <christian.gromm@xxxxxxxxxxxxx> :::::: 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
_______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel