From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 26 Jun 2019 09:22:18 +0800 From: Greg Kroah-Hartman Subject: Re: [driver-core:driver-core-testing 84/85] drivers/s390/cio/device.c:1660:9: warning: assignment discards 'const' qualifier from pointer target type Message-ID: <20190626012218.GB24105@kroah.com> References: <201906252228.SQ5Vvv4y%lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201906252228.SQ5Vvv4y%lkp@intel.com> List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: kbuild test robot , Suzuki K Poulose , devel@driverdev.osuosl.org, kbuild-all@01.org On Tue, Jun 25, 2019 at 10:28:55PM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing > head: 65b66682344a15ba2069d4dd8d0cc39cc3aed7e9 > commit: 92ce7e83b4e5c86687d748ba53cb755acdce1256 [84/85] driver_find_device: Unify the match function with class_find_device() > config: s390-debug_defconfig (attached as .config) > compiler: s390-linux-gcc (GCC) 7.4.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 92ce7e83b4e5c86687d748ba53cb755acdce1256 > # save the attached .config to linux build tree > GCC_VERSION=7.4.0 make.cross ARCH=s390 > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot > > All warnings (new ones prefixed by >>): > > drivers/s390/cio/device.c: In function '__ccwdev_check_busid': > >> drivers/s390/cio/device.c:1660:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] > bus_id = id; > ^ > -- > drivers/s390/cio/ccwgroup.c: In function '__ccwgroupdev_check_busid': > >> drivers/s390/cio/ccwgroup.c:613:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] > char *bus_id = id; > ^~ Suzuki, can you send me a fix for this please? thanks, greg k-h _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel