Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1223372 > unrolled thread

[PATCH] iwlwifi: mvm: fix tof.h header guard

Started byNicolas Iooss <nicolas.iooss_linux@m4x.org>
First post2015-09-12 12:20 +0200
Last post2015-09-14 10:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] iwlwifi: mvm: fix tof.h header guard Nicolas Iooss <nicolas.iooss_linux@m4x.org> - 2015-09-12 12:20 +0200
    Re: [PATCH] iwlwifi: mvm: fix tof.h header guard Johannes Berg <johannes@sipsolutions.net> - 2015-09-14 10:40 +0200

#1223372 — [PATCH] iwlwifi: mvm: fix tof.h header guard

FromNicolas Iooss <nicolas.iooss_linux@m4x.org>
Date2015-09-12 12:20 +0200
Subject[PATCH] iwlwifi: mvm: fix tof.h header guard
Message-ID<q7Q4x-5XR-1@gated-at.bofh.it>
Commit ce7929186a39 ("iwlwifi: mvm: add basic Time of Flight (802.11mc
FTM) support") created drivers/net/wireless/iwlwifi/mvm/tof.h with a
broken header guard:

    #ifndef __tof
    #define __tof_h__

    ...

    #endif /* __tof_h__ */

Use __tof_h__ in the first line.

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
---
 drivers/net/wireless/iwlwifi/mvm/tof.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/iwlwifi/mvm/tof.h b/drivers/net/wireless/iwlwifi/mvm/tof.h
index 50ae8adaaa6e..9beebc33cb8d 100644
--- a/drivers/net/wireless/iwlwifi/mvm/tof.h
+++ b/drivers/net/wireless/iwlwifi/mvm/tof.h
@@ -60,7 +60,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  *****************************************************************************/
-#ifndef __tof
+#ifndef __tof_h__
 #define __tof_h__
 
 #include "fw-api-tof.h"
-- 
2.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1223919

FromJohannes Berg <johannes@sipsolutions.net>
Date2015-09-14 10:40 +0200
Message-ID<q8xsS-Tg-13@gated-at.bofh.it>
In reply to#1223372
On Sat, 2015-09-12 at 12:04 +0200, Nicolas Iooss wrote:
> Commit ce7929186a39 ("iwlwifi: mvm: add basic Time of Flight 
> (802.11mc
> FTM) support") created drivers/net/wireless/iwlwifi/mvm/tof.h with a
> broken header guard:
> 
>     #ifndef __tof
>     #define __tof_h__
> 
>     ...
> 
>     #endif /* __tof_h__ */
> 
> Use __tof_h__ in the first line.
> 
Thanks, I applied it to our development tree.

johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web