From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [pinctrl:devel 63/65] drivers/pinctrl/freescale/pinctrl-imx6ul.c:343:33: warning: passing argument 2 of 'imx_pinctrl_probe' discards 'const' qualifier from pointer target type Date: Thu, 11 Jan 2018 10:21:36 +0100 Message-ID: References: <201801100031.ehyAIs9l%fengguang.wu@intel.com> <59dc10a601670bf18fbcd4d39d685c81@agner.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from mail-qt0-f193.google.com ([209.85.216.193]:43157 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932787AbeAKJVh (ORCPT ); Thu, 11 Jan 2018 04:21:37 -0500 Received: by mail-qt0-f193.google.com with SMTP id s3so988418qtb.10 for ; Thu, 11 Jan 2018 01:21:37 -0800 (PST) In-Reply-To: <59dc10a601670bf18fbcd4d39d685c81@agner.ch> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Stefan Agner Cc: Bai Ping , kbuild-all@01.org, linux-gpio@vger.kernel.org, Rob Herring , kbuild test robot On Wed, Jan 10, 2018 at 7:11 PM, Stefan Agner wrote: > Hi Linus, > > On 2018-01-09 17:40, kbuild test robot wrote: >> tree: >> https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git >> devel >> head: a3a093ae02e2ae81499ad9e78516dccd72906c25 >> commit: ba33f4f42e968854d8367fc4e55b07f835c55832 [63/65] pinctrl: >> imx6ul: add IOMUXC SNVS pinctrl driver for i.MX 6ULL >> config: arm-multi_v7_defconfig (attached as .config) >> compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.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 ba33f4f42e968854d8367fc4e55b07f835c55832 >> # save the attached .config to linux build tree >> make.cross ARCH=arm >> >> All warnings (new ones prefixed by >>): >> >> drivers/pinctrl/freescale/pinctrl-imx6ul.c: In function >> 'imx6ul_pinctrl_probe': >>>> drivers/pinctrl/freescale/pinctrl-imx6ul.c:343:33: warning: passing argument 2 of 'imx_pinctrl_probe' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] >> return imx_pinctrl_probe(pdev, pinctrl_info); >> ^~~~~~~~~~~~ > > > I think this happened because you only applied patch 5 of the imx > constify patchset, is that correct? I guess... I'm looking it over. Yours, Linus Walleij