lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130715145109.GQ7656@atomide.com>
Date:	Mon, 15 Jul 2013 07:51:09 -0700
From:	Tony Lindgren <tony@...mide.com>
To:	Jean-Francois Moine <moinejf@...e.fr>
Cc:	Grant Likely <grant.likely@...aro.org>,
	Rob Herring <rob.herring@...xeda.com>,
	Linus Walleij <linus.walleij@...aro.org>,
	Haojian Zhuang <haojian.zhuang@...il.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: pinctrl-single: fix compile warning when no
 CONFIG_PM

* Jean-Francois Moine <moinejf@...e.fr> [130715 01:19]:
> This warning has been introduced by the commit
>  0f9bc4bcdf4f pinctrl: single: adopt pinctrl sleep mode management
> 
> Signed-off-by: Jean-Francois Moine <moinejf@...e.fr>

Acked-by: Tony Lindgren <tony@...mide.com>

> ---
>  drivers/pinctrl/pinctrl-single.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
> index 6866548..7323cca 100644
> --- a/drivers/pinctrl/pinctrl-single.c
> +++ b/drivers/pinctrl/pinctrl-single.c
> @@ -1483,6 +1483,7 @@ static int pcs_add_gpio_func(struct device_node *node, struct pcs_device *pcs)
>  	return ret;
>  }
>  
> +#ifdef CONFIG_PM
>  static int pinctrl_single_suspend(struct platform_device *pdev,
>  					pm_message_t state)
>  {
> @@ -1505,6 +1506,7 @@ static int pinctrl_single_resume(struct platform_device *pdev)
>  
>  	return pinctrl_force_default(pcs->pctl);
>  }
> +#endif
>  
>  static int pcs_probe(struct platform_device *pdev)
>  {
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ