Discussion:
[PATCH] drivers: target: target_core_ua_h: Add #define of include guard
Rasmus Villemoes
2014-08-22 12:54:31 UTC
Permalink
Clearly the file was meant to contain an include guard, but it was
missing the #define part.

Signed-off-by: Rasmus Villemoes <***@rasmusvillemoes.dk>
---
drivers/target/target_core_ua.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/target/target_core_ua.h b/drivers/target/target_core_ua.h
index be912b3..a6b56b3 100644
--- a/drivers/target/target_core_ua.h
+++ b/drivers/target/target_core_ua.h
@@ -1,4 +1,5 @@
#ifndef TARGET_CORE_UA_H
+#define TARGET_CORE_UA_H

/*
* From spc4r17, Table D.1: ASC and ASCQ Assignement
--
1.9.2
Nicholas A. Bellinger
2014-08-22 21:13:08 UTC
Permalink
Hi Rasmus,
Post by Rasmus Villemoes
Clearly the file was meant to contain an include guard, but it was
missing the #define part.
---
drivers/target/target_core_ua.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/target/target_core_ua.h b/drivers/target/target_core_ua.h
index be912b3..a6b56b3 100644
--- a/drivers/target/target_core_ua.h
+++ b/drivers/target/target_core_ua.h
@@ -1,4 +1,5 @@
#ifndef TARGET_CORE_UA_H
+#define TARGET_CORE_UA_H
/*
* From spc4r17, Table D.1: ASC and ASCQ Assignement
Applied to target-pending.git.

Thanks!

--nab

Loading...