diff mbox series

bpfilter/verifier: add include guard to tnum.h

Message ID 20190819161035.21826-1-yamada.masahiro@socionext.com
State Accepted
Commit 69ecfdaa534943efd95ee12b53fbb0f344e42e7e
Headers show
Series bpfilter/verifier: add include guard to tnum.h | expand

Commit Message

Masahiro Yamada Aug. 19, 2019, 4:10 p.m. UTC
Add a header include guard just in case.

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

---

 include/linux/tnum.h | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.17.1

Comments

Daniel Borkmann Aug. 20, 2019, 3:10 p.m. UTC | #1
On 8/19/19 6:10 PM, Masahiro Yamada wrote:
> Add a header include guard just in case.

> 

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


Applied, thanks!
diff mbox series

Patch

diff --git a/include/linux/tnum.h b/include/linux/tnum.h
index c7dc2b5902c0..c17af77f3fae 100644
--- a/include/linux/tnum.h
+++ b/include/linux/tnum.h
@@ -5,6 +5,10 @@ 
  * propagate the unknown bits such that the tnum result represents all the
  * possible results for possible values of the operands.
  */
+
+#ifndef _LINUX_TNUM_H
+#define _LINUX_TNUM_H
+
 #include <linux/types.h>
 
 struct tnum {
@@ -81,3 +85,5 @@  bool tnum_in(struct tnum a, struct tnum b);
 int tnum_strn(char *str, size_t size, struct tnum a);
 /* Format a tnum as tristate binary expansion */
 int tnum_sbin(char *str, size_t size, struct tnum a);
+
+#endif /* _LINUX_TNUM_H */