All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Christian Gromm <christian.gromm@microchip.com>
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org,
	driverdev-devel@linuxdriverproject.org
Subject: Re: [PATCH 05/13] staging: most: use __ATTR_RW in create_channel_attribute
Date: Sun, 2 Apr 2017 05:18:36 +0800	[thread overview]
Message-ID: <201704020521.wxUYrWfw%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170331132234.21722-5-christian.gromm@microchip.com>

[-- Attachment #1: Type: text/plain, Size: 8227 bytes --]

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@microchip.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 49612 bytes --]

  reply	other threads:[~2017-04-01 21:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-31 13:22 [PATCH 01/13] staging: most: fix comment of the function add_link_store Christian Gromm
2017-03-31 13:22 ` [PATCH 02/13] staging: most: fix comment of the function remove_link_store Christian Gromm
2017-03-31 13:22 ` [PATCH 03/13] staging: most: use __ATTR_RO for the attribute interface Christian Gromm
2017-03-31 13:22 ` [PATCH 04/13] staging: most: use __ATTR_RO for the attribute value Christian Gromm
2017-03-31 13:22 ` [PATCH 05/13] staging: most: use __ATTR_RW in create_channel_attribute Christian Gromm
2017-04-01 21:18   ` kbuild test robot [this message]
2017-04-08 10:39   ` Greg KH
2017-03-31 13:22 ` [PATCH 06/13] staging: most: use __ATTR_RO in create_show_channel_attribute Christian Gromm
2017-03-31 13:22 ` [PATCH 07/13] staging: most: consolidate channel attributes Christian Gromm
2017-03-31 13:22 ` [PATCH 08/13] staging: most: separate property showing links Christian Gromm
2017-03-31 13:22 ` [PATCH 09/13] staging: most: consolidate attributes for list of links Christian Gromm
2017-03-31 13:22 ` [PATCH 10/13] staging: most: destroy cdev by channel disconnect Christian Gromm
2017-03-31 13:22 ` [PATCH 11/13] staging: most: usb: fix calculation of the extra_len Christian Gromm
2017-03-31 13:22 ` [PATCH 12/13] staging: most: usb: fix size overflow Christian Gromm
2017-03-31 13:22 ` [PATCH 13/13] staging: most: usb: Fix setting of writable DCI registers Christian Gromm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201704020521.wxUYrWfw%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=christian.gromm@microchip.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.