mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Arthur Brainville (Ybalrid)" <ybalrid@ybalrid.info>
Cc: kbuild-all@01.org, abbotti@mev.co.uk, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org,
	"Arthur Brainville (Ybalrid)" <ybalrid@ybalrid.info>
Subject: Re: [PATCH] Staging: comedidev.h comedi_lrange should be const struct
Date: Mon, 10 Apr 2017 00:22:28 +0800	[thread overview]
Message-ID: <201704100006.daKgJqSb%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170409142812.3356-1-ybalrid@ybalrid.info>

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

Hi Arthur,

[auto build test WARNING on staging/staging-testing]
[also build test WARNING on v4.11-rc5 next-20170407]
[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/Arthur-Brainville-Ybalrid/Staging-comedidev-h-comedi_lrange-should-be-const-struct/20170409-224503
config: x86_64-allyesdebian (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from drivers/staging/comedi/comedi_fops.c:34:0:
>> drivers/staging/comedi/comedidev.h:629:1: warning: useless type qualifier in empty declaration
    };
    ^

vim +629 drivers/staging/comedi/comedidev.h

ed9eccbe8 David Schleef               2008-11-04  613  #define range_digital		range_unipolar5
ed9eccbe8 David Schleef               2008-11-04  614  
5459bc128 Ian Abbott                  2015-09-21  615  /**
5459bc128 Ian Abbott                  2015-09-21  616   * struct comedi_lrange - Describes a COMEDI range table
5459bc128 Ian Abbott                  2015-09-21  617   * @length: Number of entries in the range table.
5459bc128 Ian Abbott                  2015-09-21  618   * @range: Array of &struct comedi_krange, one for each range.
5459bc128 Ian Abbott                  2015-09-21  619   *
5459bc128 Ian Abbott                  2015-09-21  620   * Each element of @range[] describes the minimum and maximum physical range
5459bc128 Ian Abbott                  2015-09-21  621   * range and the type of units.  Typically, the type of unit is %UNIT_volt
5459bc128 Ian Abbott                  2015-09-21  622   * (i.e. volts) and the minimum and maximum are in millionths of a volt.
5459bc128 Ian Abbott                  2015-09-21  623   * There may also be a flag that indicates the minimum and maximum are merely
5459bc128 Ian Abbott                  2015-09-21  624   * scale factors for an unknown, external reference.
5459bc128 Ian Abbott                  2015-09-21  625   */
540e454c2 Arthur Brainville (Ybalrid  2017-04-09  626) const struct comedi_lrange {
ed9eccbe8 David Schleef               2008-11-04  627  	int length;
3358a0ca2 Cheah Kok Cheong            2016-12-22  628  	struct comedi_krange range[];
ed9eccbe8 David Schleef               2008-11-04 @629  };
ed9eccbe8 David Schleef               2008-11-04  630  
42e558399 Ian Abbott                  2015-09-21  631  /**
42e558399 Ian Abbott                  2015-09-21  632   * comedi_range_is_bipolar() - Test if subdevice range is bipolar
42e558399 Ian Abbott                  2015-09-21  633   * @s: COMEDI subdevice.
42e558399 Ian Abbott                  2015-09-21  634   * @range: Index of range within a range table.
42e558399 Ian Abbott                  2015-09-21  635   *
42e558399 Ian Abbott                  2015-09-21  636   * Tests whether a range is bipolar by checking whether its minimum value
42e558399 Ian Abbott                  2015-09-21  637   * is negative.

:::::: The code at line 629 was first introduced by commit
:::::: ed9eccbe8970f6eedc1b978c157caf1251a896d4 Staging: add comedi core

:::::: TO: David Schleef <ds@schleef.org>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>

---
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: 38598 bytes --]

  reply	other threads:[~2017-04-09 16:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-09 14:28 Arthur Brainville (Ybalrid)
2017-04-09 16:22 ` kbuild test robot [this message]
2017-04-09 19:02 ` Greg KH
2017-04-10  2:51 ` kbuild test robot
2017-04-10 17:45 ` [PATCH] checkpatch: Avoid suggesting struct definitions should be const Joe Perches
2017-04-10 18:56   ` Arthur Brainville (Ybalrid)
     [not found] <20170409194120.GA23199@Leliel>
2017-04-10 15:25 ` [PATCH] Staging: comedidev.h comedi_lrange should be const struct Arthur Brainville
2017-04-10 20:01   ` Greg KH
2017-04-10 20:17     ` Arthur Brainville (Ybalrid)

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=201704100006.daKgJqSb%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=abbotti@mev.co.uk \
    --cc=devel@driverdev.osuosl.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ybalrid@ybalrid.info \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®