linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: "Álvaro Fernández Rojas" <noltari@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	Jonas Gorski <jonas.gorski@gmail.com>,
	"open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] pinctrl: bcm: bcm6362: fix warning
Date: Wed, 31 Mar 2021 14:34:40 +0200	[thread overview]
Message-ID: <CACRpkdYMSy-gmcmFKsj2fKzFbrb29RLyU=ah4Qa4c4gdXwnCnA@mail.gmail.com> (raw)
In-Reply-To: <20210330103225.3949-1-noltari@gmail.com>

On Tue, Mar 30, 2021 at 12:32 PM Álvaro Fernández Rojas
<noltari@gmail.com> wrote:

> The current implementation of bcm6362_set_gpio() produces the following
> warning on x86_64:
> drivers/pinctrl/bcm/pinctrl-bcm6362.c: In function 'bcm6362_set_gpio':
> drivers/pinctrl/bcm/pinctrl-bcm6362.c:503:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>   503 |        (uint32_t) desc->drv_data, 0);
>       |        ^
>
> Modify the code to make it similar to bcm63268_set_gpio() in order to fix
> the warning.
>
> Fixes: 705791e23ecd ("pinctrl: add a pincontrol driver for BCM6362")
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Patch applied! Thanks!

Yours,
Linus Walleij

      parent reply	other threads:[~2021-03-31 12:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-30 10:32 [PATCH v2] pinctrl: bcm: bcm6362: fix warning Álvaro Fernández Rojas
2021-03-30 10:55 ` Andy Shevchenko
2021-03-30 13:41   ` Álvaro Fernández Rojas
2021-03-31 12:34 ` Linus Walleij [this message]

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='CACRpkdYMSy-gmcmFKsj2fKzFbrb29RLyU=ah4Qa4c4gdXwnCnA@mail.gmail.com' \
    --to=linus.walleij@linaro.org \
    --cc=jonas.gorski@gmail.com \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=noltari@gmail.com \
    --cc=sfr@canb.auug.org.au \
    /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).