All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hwrng: timeriomem - add include guard to timeriomem-rng.h
@ 2019-07-28 15:32 Masahiro Yamada
  2019-08-02  4:55 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2019-07-28 15:32 UTC (permalink / raw)
  To: Matt Mackall, Herbert Xu, linux-crypto
  Cc: Masahiro Yamada, Thomas Gleixner, linux-kernel

Add a header include guard just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 include/linux/timeriomem-rng.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/linux/timeriomem-rng.h b/include/linux/timeriomem-rng.h
index fd4a6e6ec831..672df7fbf6c1 100644
--- a/include/linux/timeriomem-rng.h
+++ b/include/linux/timeriomem-rng.h
@@ -5,6 +5,9 @@
  * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk>
  */
 
+#ifndef _LINUX_TIMERIOMEM_RNG_H
+#define _LINUX_TIMERIOMEM_RNG_H
+
 struct timeriomem_rng_data {
 	void __iomem		*address;
 
@@ -14,3 +17,5 @@ struct timeriomem_rng_data {
 	/* bits of entropy per 1024 bits read */
 	unsigned int		quality;
 };
+
+#endif /* _LINUX_TIMERIOMEM_RNG_H */
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] hwrng: timeriomem - add include guard to timeriomem-rng.h
  2019-07-28 15:32 [PATCH] hwrng: timeriomem - add include guard to timeriomem-rng.h Masahiro Yamada
@ 2019-08-02  4:55 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2019-08-02  4:55 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: Matt Mackall, linux-crypto, Thomas Gleixner, linux-kernel

On Mon, Jul 29, 2019 at 12:32:36AM +0900, Masahiro Yamada wrote:
> Add a header include guard just in case.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
> 
>  include/linux/timeriomem-rng.h | 5 +++++
>  1 file changed, 5 insertions(+)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-02  4:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-28 15:32 [PATCH] hwrng: timeriomem - add include guard to timeriomem-rng.h Masahiro Yamada
2019-08-02  4:55 ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.