* [PATCH] mac802154: fix typo in header guard
@ 2015-03-19 13:23 Nicolas Iooss
2015-03-19 13:37 ` Alexander Aring
2015-03-19 14:33 ` Marcel Holtmann
0 siblings, 2 replies; 6+ messages in thread
From: Nicolas Iooss @ 2015-03-19 13:23 UTC (permalink / raw)
To: alex.aring, linux-wpan; +Cc: netdev, linux-kernel, Nicolas Iooss
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Fixes: b6eea9ca354a ("mac802154: introduce driver-ops header")
---
net/mac802154/driver-ops.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/mac802154/driver-ops.h b/net/mac802154/driver-ops.h
index 98180a9fff4a..a0533357b9ea 100644
--- a/net/mac802154/driver-ops.h
+++ b/net/mac802154/driver-ops.h
@@ -1,4 +1,4 @@
-#ifndef __MAC802154_DRVIER_OPS
+#ifndef __MAC802154_DRIVER_OPS
#define __MAC802154_DRIVER_OPS
#include <linux/types.h>
@@ -220,4 +220,4 @@ drv_set_promiscuous_mode(struct ieee802154_local *local, bool on)
return local->ops->set_promiscuous_mode(&local->hw, on);
}
-#endif /* __MAC802154_DRVIER_OPS */
+#endif /* __MAC802154_DRIVER_OPS */
--
2.3.3
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH] mac802154: fix typo in header guard
2015-03-19 13:23 [PATCH] mac802154: fix typo in header guard Nicolas Iooss
@ 2015-03-19 13:37 ` Alexander Aring
2015-03-19 13:46 ` Paul Bolle
2015-03-19 14:33 ` Marcel Holtmann
1 sibling, 1 reply; 6+ messages in thread
From: Alexander Aring @ 2015-03-19 13:37 UTC (permalink / raw)
To: Nicolas Iooss; +Cc: linux-wpan, netdev, linux-kernel, marcel
Marcel,
On Thu, Mar 19, 2015 at 09:23:40PM +0800, Nicolas Iooss wrote:
> Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
> Fixes: b6eea9ca354a ("mac802154: introduce driver-ops header")
Acked-by: Alexander Aring <alex.aring@gmail.com>
can you please queue this into bluetooth-next or even bluetooth?
Thanks.
- Alex
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] mac802154: fix typo in header guard
2015-03-19 13:37 ` Alexander Aring
@ 2015-03-19 13:46 ` Paul Bolle
2015-03-19 13:58 ` Alexander Aring
2015-03-19 13:59 ` Nicolas Iooss
0 siblings, 2 replies; 6+ messages in thread
From: Paul Bolle @ 2015-03-19 13:46 UTC (permalink / raw)
To: Alexander Aring; +Cc: Nicolas Iooss, linux-wpan, netdev, linux-kernel, marcel
On Thu, 2015-03-19 at 14:37 +0100, Alexander Aring wrote:
> On Thu, Mar 19, 2015 at 09:23:40PM +0800, Nicolas Iooss wrote:
> > Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
> > Fixes: b6eea9ca354a ("mac802154: introduce driver-ops header")
>
> Acked-by: Alexander Aring <alex.aring@gmail.com>
>
> can you please queue this into bluetooth-next or even bluetooth?
Is the Fixes: tag needed?
mac802154.ko builds fine on my machine. There's also no error or warning
included in the commit explanation. So it seems this is just a typo fix,
not something that should be sent to stable too. Or did I miss something
non-obvious?
Paul Bolle
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] mac802154: fix typo in header guard
2015-03-19 13:46 ` Paul Bolle
@ 2015-03-19 13:58 ` Alexander Aring
2015-03-19 13:59 ` Nicolas Iooss
1 sibling, 0 replies; 6+ messages in thread
From: Alexander Aring @ 2015-03-19 13:58 UTC (permalink / raw)
To: Paul Bolle; +Cc: Nicolas Iooss, linux-wpan, netdev, linux-kernel, marcel
On Thu, Mar 19, 2015 at 02:46:26PM +0100, Paul Bolle wrote:
> On Thu, 2015-03-19 at 14:37 +0100, Alexander Aring wrote:
> > On Thu, Mar 19, 2015 at 09:23:40PM +0800, Nicolas Iooss wrote:
> > > Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
> > > Fixes: b6eea9ca354a ("mac802154: introduce driver-ops header")
> >
> > Acked-by: Alexander Aring <alex.aring@gmail.com>
> >
> > can you please queue this into bluetooth-next or even bluetooth?
>
> Is the Fixes: tag needed?
>
> mac802154.ko builds fine on my machine. There's also no error or warning
> included in the commit explanation. So it seems this is just a typo fix,
> not something that should be sent to stable too. Or did I miss something
> non-obvious?
>
It's only an internal header which is used by c-files inside net/mac802154.
I am not sure the right handling of this kind of fix. That's why I said
to Marcel bluetooth-next or even bluetooth.
The header-guard working right now because the internal-header is included
only once in a c-file in "net/mac802154".
I currently imagine the following situation, when a stable patch comes in
and add a:
#include "driver-ops.h"
in another internal header like "ieee802154_i.h" which is also part of
net/mac802154/ directory. Then the build will fail afterwards, but I
don't plan to send such patch to stable.
Nevertheless, then some build robots should notice about that. If nobody other
complains here, then I am fine to put this into bluetooth-next.
- Alex
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] mac802154: fix typo in header guard
2015-03-19 13:46 ` Paul Bolle
2015-03-19 13:58 ` Alexander Aring
@ 2015-03-19 13:59 ` Nicolas Iooss
1 sibling, 0 replies; 6+ messages in thread
From: Nicolas Iooss @ 2015-03-19 13:59 UTC (permalink / raw)
To: Paul Bolle, Alexander Aring; +Cc: linux-wpan, netdev, linux-kernel, marcel
On 03/19/2015 09:46 PM, Paul Bolle wrote:
> On Thu, 2015-03-19 at 14:37 +0100, Alexander Aring wrote:
>> On Thu, Mar 19, 2015 at 09:23:40PM +0800, Nicolas Iooss wrote:
>>> Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
>>> Fixes: b6eea9ca354a ("mac802154: introduce driver-ops header")
>>
>> Acked-by: Alexander Aring <alex.aring@gmail.com>
>>
>> can you please queue this into bluetooth-next or even bluetooth?
>
> Is the Fixes: tag needed?
>
> mac802154.ko builds fine on my machine. There's also no error or warning
> included in the commit explanation. So it seems this is just a typo fix,
> not something that should be sent to stable too. Or did I miss something
> non-obvious?
No, you didn't miss anything. It is only a fix for a typo I found while
testing LLVMLinux (clang warns about such typos with -Wheader-guard).
I added a Fixes: tag because it is easier to remove it afterwards that
to search for a commit when adding it. I think this patch should not be
sent to stable@, and feel free to remove the tag if for you it means
"forward to stable@" (Documentation/SubmittingPatches is not clear about
whether a Fixes tag should be only used for real bugs or if it also
applies to compiler warnings).
Thanks for your quick replies.
Nicolas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] mac802154: fix typo in header guard
2015-03-19 13:23 [PATCH] mac802154: fix typo in header guard Nicolas Iooss
2015-03-19 13:37 ` Alexander Aring
@ 2015-03-19 14:33 ` Marcel Holtmann
1 sibling, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2015-03-19 14:33 UTC (permalink / raw)
To: Nicolas Iooss; +Cc: Alexander Aring, linux-wpan, netdev, linux-kernel
Hi Nicolas,
> Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
> Fixes: b6eea9ca354a ("mac802154: introduce driver-ops header")
> ---
> net/mac802154/driver-ops.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-03-19 14:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19 13:23 [PATCH] mac802154: fix typo in header guard Nicolas Iooss
2015-03-19 13:37 ` Alexander Aring
2015-03-19 13:46 ` Paul Bolle
2015-03-19 13:58 ` Alexander Aring
2015-03-19 13:59 ` Nicolas Iooss
2015-03-19 14:33 ` Marcel Holtmann
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).