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]
Date:   Mon, 19 Aug 2019 09:30:04 +0200
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        "Rafael J . Wysocki" <rafael@...nel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Allison Randal <allison@...utok.net>,
        Enrico Weigelt <info@...ux.net>,
        Kate Stewart <kstewart@...uxfoundation.org>,
        Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] driver-core: add include guard to linux/container.h

On Mon, Aug 19, 2019 at 9:24 AM Masahiro Yamada
<yamada.masahiro@...ionext.com> wrote:
>
> Add a header include guard just in case.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>

Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>

> ---
>
>  include/linux/container.h | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/include/linux/container.h b/include/linux/container.h
> index 0cc2ee91905c..2566a1baa736 100644
> --- a/include/linux/container.h
> +++ b/include/linux/container.h
> @@ -6,6 +6,9 @@
>   * Author: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
>   */
>
> +#ifndef _LINUX_CONTAINER_H
> +#define _LINUX_CONTAINER_H
> +
>  #include <linux/device.h>
>
>  /* drivers/base/power/container.c */
> @@ -20,3 +23,5 @@ static inline struct container_dev *to_container_dev(struct device *dev)
>  {
>         return container_of(dev, struct container_dev, dev);
>  }
> +
> +#endif /* _LINUX_CONTAINER_H */
> --
> 2.17.1
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ