All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers: target: target_core_ua_h: Add #define of include guard
@ 2014-08-22 12:54 Rasmus Villemoes
  2014-08-22 21:13 ` Nicholas A. Bellinger
  0 siblings, 1 reply; 2+ messages in thread
From: Rasmus Villemoes @ 2014-08-22 12:54 UTC (permalink / raw)
  To: Nicholas A. Bellinger
  Cc: linux-scsi, target-devel, linux-kernel, Rasmus Villemoes

Clearly the file was meant to contain an include guard, but it was
missing the #define part.

Signed-off-by: Rasmus Villemoes <linux@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


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

* Re: [PATCH] drivers: target: target_core_ua_h: Add #define of include guard
  2014-08-22 12:54 [PATCH] drivers: target: target_core_ua_h: Add #define of include guard Rasmus Villemoes
@ 2014-08-22 21:13 ` Nicholas A. Bellinger
  0 siblings, 0 replies; 2+ messages in thread
From: Nicholas A. Bellinger @ 2014-08-22 21:13 UTC (permalink / raw)
  To: Rasmus Villemoes; +Cc: linux-scsi, target-devel, linux-kernel

Hi Rasmus,

On Fri, 2014-08-22 at 14:54 +0200, Rasmus Villemoes wrote:
> Clearly the file was meant to contain an include guard, but it was
> missing the #define part.
> 
> Signed-off-by: Rasmus Villemoes <linux@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

Applied to target-pending.git.

Thanks!

--nab



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

end of thread, other threads:[~2014-08-22 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-22 12:54 [PATCH] drivers: target: target_core_ua_h: Add #define of include guard Rasmus Villemoes
2014-08-22 21:13 ` Nicholas A. Bellinger

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.