linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Stefan Agner <stefan@agner.ch>
Cc: Bai Ping <ping.bai@nxp.com>,
	kbuild-all@01.org, linux-gpio@vger.kernel.org,
	Rob Herring <robh@kernel.org>,
	kbuild test robot <fengguang.wu@intel.com>
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	[thread overview]
Message-ID: <CACRpkdYiKcm+p1xA18PBMOssMmpKnqAjmhqnrd8sZz23aiMBqw@mail.gmail.com> (raw)
In-Reply-To: <59dc10a601670bf18fbcd4d39d685c81@agner.ch>

On Wed, Jan 10, 2018 at 7:11 PM, Stefan Agner <stefan@agner.ch> 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

  reply	other threads:[~2018-01-11  9:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-09 16:40 [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 kbuild test robot
2018-01-10 18:11 ` Stefan Agner
2018-01-11  9:21   ` Linus Walleij [this message]
2018-01-11  9:32   ` Linus Walleij
2018-01-11 12:27     ` Stefan Agner

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=CACRpkdYiKcm+p1xA18PBMOssMmpKnqAjmhqnrd8sZz23aiMBqw@mail.gmail.com \
    --to=linus.walleij@linaro.org \
    --cc=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=ping.bai@nxp.com \
    --cc=robh@kernel.org \
    --cc=stefan@agner.ch \
    /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;
as well as URLs for NNTP newsgroup(s).