linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thierry Reding <treding@nvidia.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org
Subject: Re: [PATCH] gpio: Fix undefined lock_dep_class
Date: Thu, 9 Nov 2017 11:06:33 +0100	[thread overview]
Message-ID: <20171109100633.GB20678@ulmo> (raw)
In-Reply-To: <20171108204236.4493-1-linus.walleij@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 845 bytes --]

On Wed, Nov 08, 2017 at 09:42:36PM +0100, Linus Walleij wrote:
> The struct is wrong, this is named lock_class_key.
> 
> Cc: Thierry Reding <treding@nvidia.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  drivers/gpio/gpiolib.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
> index 961b5da38bb9..86dcd02cf602 100644
> --- a/drivers/gpio/gpiolib.c
> +++ b/drivers/gpio/gpiolib.c
> @@ -1940,7 +1940,7 @@ EXPORT_SYMBOL_GPL(gpiochip_irqchip_add_key);
>  #else /* CONFIG_GPIOLIB_IRQCHIP */
>  
>  static inline int gpiochip_add_irqchip(struct gpio_chip *gpiochip,
> -				       struct lock_dep_class *lock_key)
> +				       struct lock_class_key *key)
>  {
>  	return 0;
>  }

Reviewed-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2017-11-09 10:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-08 20:42 [PATCH] gpio: Fix undefined lock_dep_class Linus Walleij
2017-11-09 10:06 ` Thierry Reding [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=20171109100633.GB20678@ulmo \
    --to=treding@nvidia.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    /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).