* [PATCH] iwlwifi: mvm: fix tof.h header guard
@ 2015-09-12 10:04 Nicolas Iooss
2015-09-14 8:37 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Iooss @ 2015-09-12 10:04 UTC (permalink / raw)
To: Johannes Berg, Emmanuel Grumbach, Intel Linux Wireless,
Kalle Valo, Gregory Greenman, linux-wireless
Cc: netdev, linux-kernel, Nicolas Iooss
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iwlwifi: mvm: fix tof.h header guard
2015-09-12 10:04 [PATCH] iwlwifi: mvm: fix tof.h header guard Nicolas Iooss
@ 2015-09-14 8:37 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2015-09-14 8:37 UTC (permalink / raw)
To: Nicolas Iooss, Emmanuel Grumbach, Intel Linux Wireless,
Kalle Valo, Gregory Greenman, linux-wireless
Cc: netdev, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-14 8:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-12 10:04 [PATCH] iwlwifi: mvm: fix tof.h header guard Nicolas Iooss
2015-09-14 8:37 ` Johannes Berg
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).