From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751564AbdDJCwI (ORCPT ); Sun, 9 Apr 2017 22:52:08 -0400 Received: from mga05.intel.com ([192.55.52.43]:63468 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750877AbdDJCwH (ORCPT ); Sun, 9 Apr 2017 22:52:07 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,180,1488873600"; d="scan'208";a="1117600027" Date: Mon, 10 Apr 2017 10:51:20 +0800 From: kbuild test robot To: "Arthur Brainville (Ybalrid)" Cc: kbuild-all@01.org, abbotti@mev.co.uk, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, "Arthur Brainville (Ybalrid)" Subject: Re: [PATCH] Staging: comedidev.h comedi_lrange should be const struct Message-ID: <201704101040.x7uUiIHL%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170409142812.3356-1-ybalrid@ybalrid.info> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 :::::: CC: Greg Kroah-Hartman --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation