Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1619606
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | kbuild test robot <lkp@intel.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Staging: comedidev.h comedi_lrange should be const struct |
| Date | Mon, 10 Apr 2017 05:00:01 +0200 |
| Message-ID | <tuxIB-3e8-1@gated-at.bofh.it> (permalink) |
| References | <tumat-400-1@gated-at.bofh.it> |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.37,180,1488873600"; d="scan'208";a="1117600027" |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Sa-Exim-Connect-IP | <locally generated> |
| X-Sa-Exim-Mail-From | fengguang.wu@intel.com |
| X-Sa-Exim-Scanned | No (on bee); SAEximRunCond expanded to false |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 53 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | kbuild-all@01.org, abbotti@mev.co.uk, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, "Arthur Brainville (Ybalrid)" <ybalrid@ybalrid.info> |
| X-Original-Date | Mon, 10 Apr 2017 10:51:20 +0800 |
| X-Original-Message-ID | <201704101040.x7uUiIHL%fengguang.wu@intel.com> |
| X-Original-References | <20170409142812.3356-1-ybalrid@ybalrid.info> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1619606 |
Show key headers only | View raw
Hi Arthur,
[auto build test WARNING on staging/staging-testing]
[also build test WARNING on v4.11-rc6 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-allmodconfig
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
make ARCH=x86_64 allmodconfig
make ARCH=x86_64
All warnings (new ones prefixed by >>):
vim +629 drivers/staging/comedi/drivers/../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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] Staging: comedidev.h comedi_lrange should be const struct "Arthur Brainville (Ybalrid)" <ybalrid@ybalrid.info> - 2017-04-09 16:40 +0200
Re: [PATCH] Staging: comedidev.h comedi_lrange should be const struct Greg KH <greg@kroah.com> - 2017-04-09 21:20 +0200
Re: [PATCH] Staging: comedidev.h comedi_lrange should be const struct kbuild test robot <lkp@intel.com> - 2017-04-10 05:00 +0200
[PATCH] checkpatch: Avoid suggesting struct definitions should be const Joe Perches <joe@perches.com> - 2017-04-10 19:50 +0200
Re: [PATCH] checkpatch: Avoid suggesting struct definitions should be const "Arthur Brainville (Ybalrid)" <ybalrid@ybalrid.info> - 2017-04-10 21:00 +0200
csiph-web