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: <52D07DBD.9060700@roeck-us.net>
Date:	Fri, 10 Jan 2014 15:09:49 -0800
From:	Guenter Roeck <linux@...ck-us.net>
To:	Vivien Didelot <vivien.didelot@...oirfairelinux.com>,
	lm-sensors@...sensors.org
CC:	Jean Delvare <khali@...ux-fr.org>, linux-kernel@...r.kernel.org,
	kernel@...oirfairelinux.com
Subject: Re: [PATCH] hwmon: (sht15) add include guard

On 01/10/2014 01:44 PM, Vivien Didelot wrote:
> Add include guard to include/linux/platform_data/sht15.h to prevent
> multiple inclusion.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
> ---

Applied to hwmon-next.

Thanks,
Guenter

>   include/linux/platform_data/sht15.h | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/include/linux/platform_data/sht15.h b/include/linux/platform_data/sht15.h
> index 33e0fd2..12289c1 100644
> --- a/include/linux/platform_data/sht15.h
> +++ b/include/linux/platform_data/sht15.h
> @@ -12,6 +12,9 @@
>    * For further information, see the Documentation/hwmon/sht15 file.
>    */
>
> +#ifndef _PDATA_SHT15_H
> +#define _PDATA_SHT15_H
> +
>   /**
>    * struct sht15_platform_data - sht15 connectivity info
>    * @gpio_data:		no. of gpio to which bidirectional data line is
> @@ -31,3 +34,5 @@ struct sht15_platform_data {
>   	bool no_otp_reload;
>   	bool low_resolution;
>   };
> +
> +#endif /* _PDATA_SHT15_H */
>

--
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