linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fsl/qe: Do not prefix header guard with CONFIG_
@ 2016-06-08  9:36 Andreas Ziegler
  2016-06-08 18:09 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Ziegler @ 2016-06-08  9:36 UTC (permalink / raw)
  To: Zhao Qiang
  Cc: David S. Miller, Valentin Rothberg, linux-kernel, Andreas Ziegler

The CONFIG_ prefix should only be used for options which
can be configured through Kconfig and not for guarding headers.

Signed-off-by: Andreas Ziegler <andreas.ziegler@fau.de>
---
 include/soc/fsl/qe/qe_tdm.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/soc/fsl/qe/qe_tdm.h b/include/soc/fsl/qe/qe_tdm.h
index 4c91498..a1664b6 100644
--- a/include/soc/fsl/qe/qe_tdm.h
+++ b/include/soc/fsl/qe/qe_tdm.h
@@ -11,8 +11,8 @@
  * option) any later version
  */
 
-#ifndef CONFIG_QE_TDM_H
-#define CONFIG_QE_TDM_H
+#ifndef _QE_TDM_H_
+#define _QE_TDM_H_
 
 #include <linux/kernel.h>
 #include <linux/list.h>
-- 
1.9.1

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

* Re: [PATCH] fsl/qe: Do not prefix header guard with CONFIG_
  2016-06-08  9:36 [PATCH] fsl/qe: Do not prefix header guard with CONFIG_ Andreas Ziegler
@ 2016-06-08 18:09 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-06-08 18:09 UTC (permalink / raw)
  To: andreas.ziegler; +Cc: qiang.zhao, valentinrothberg, linux-kernel, netdev

From: Andreas Ziegler <andreas.ziegler@fau.de>
Date: Wed,  8 Jun 2016 11:36:56 +0200

> The CONFIG_ prefix should only be used for options which
> can be configured through Kconfig and not for guarding headers.
> 
> Signed-off-by: Andreas Ziegler <andreas.ziegler@fau.de>

Since this is fixing a patch that went via the networking tree, you
should have CC:'d netdev@vger.kernel.org

Applied.

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

end of thread, other threads:[~2016-06-08 18:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-08  9:36 [PATCH] fsl/qe: Do not prefix header guard with CONFIG_ Andreas Ziegler
2016-06-08 18:09 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).