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] [day] [month] [year] [list]
Message-ID: <CAJZ5v0h8Zsq0W2Cxx4ufkbejbisJJUcv8gSkE8jzLsnmT2ADKA@mail.gmail.com>
Date:   Wed, 7 Apr 2021 19:19:29 +0200
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     Wan Jiabing <wanjiabing@...o.com>
Cc:     "Rafael J. Wysocki" <rjw@...ysocki.net>,
        Pavel Machek <pavel@....cz>, Len Brown <len.brown@...el.com>,
        Linux PM <linux-pm@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        kael_w@...h.net
Subject: Re: [PATCH] include: linux: pm: Remove duplicate declaration

On Wed, Mar 24, 2021 at 8:30 AM Wan Jiabing <wanjiabing@...o.com> wrote:
>
> struct device is declared twice.So remove the duplicate.
>
> Signed-off-by: Wan Jiabing <wanjiabing@...o.com>
> ---
>  include/linux/pm.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/pm.h b/include/linux/pm.h
> index 482313a8ccfc..c9657408fee1 100644
> --- a/include/linux/pm.h
> +++ b/include/linux/pm.h
> @@ -39,7 +39,6 @@ static inline void pm_vt_switch_unregister(struct device *dev)
>   * Device power management
>   */
>
> -struct device;
>
>  #ifdef CONFIG_PM
>  extern const char power_group_name[];          /* = "power" */
> --

Applied as 5.13 material, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ