* [PATCH] brcmfmac: don't include linux/unaligned/access_ok.h
@ 2014-11-19 20:18 Johannes Berg
2014-11-19 20:36 ` Arend van Spriel
0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2014-11-19 20:18 UTC (permalink / raw)
To: linux-wireless, brcm80211-dev-list, Arend van Spriel,
John Linville
Cc: Johannes Berg
From: Johannes Berg <johannes.berg@intel.com>
This is a specific implementation, <asm/unaligned.h> is the
multiplexer that has the arch-specific knowledge of which
of the implementations needs to be used, so include that.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
drivers/net/wireless/brcm80211/brcmfmac/pcie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
index b0ae7993e2e8..138691a1365a 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
@@ -19,10 +19,10 @@
#include <linux/pci.h>
#include <linux/vmalloc.h>
#include <linux/delay.h>
-#include <linux/unaligned/access_ok.h>
#include <linux/interrupt.h>
#include <linux/bcma/bcma.h>
#include <linux/sched.h>
+#include <asm/unaligned.h>
#include <soc.h>
#include <chipcommon.h>
--
2.1.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] brcmfmac: don't include linux/unaligned/access_ok.h
2014-11-19 20:18 [PATCH] brcmfmac: don't include linux/unaligned/access_ok.h Johannes Berg
@ 2014-11-19 20:36 ` Arend van Spriel
2014-11-19 20:42 ` Johannes Berg
0 siblings, 1 reply; 6+ messages in thread
From: Arend van Spriel @ 2014-11-19 20:36 UTC (permalink / raw)
To: Johannes Berg
Cc: linux-wireless, brcm80211-dev-list, John Linville, Johannes Berg
On 11/19/14 21:18, Johannes Berg wrote:
> From: Johannes Berg<johannes.berg@intel.com>
>
> This is a specific implementation,<asm/unaligned.h> is the
> multiplexer that has the arch-specific knowledge of which
> of the implementations needs to be used, so include that.
Thanks, Johannes
Maybe it would be good to mention this was found by kbuild test robot.
Acked-by: Arend van Spriel <arend@broadcom.com>
> Signed-off-by: Johannes Berg<johannes.berg@intel.com>
> ---
> drivers/net/wireless/brcm80211/brcmfmac/pcie.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
> index b0ae7993e2e8..138691a1365a 100644
> --- a/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
> +++ b/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
> @@ -19,10 +19,10 @@
> #include<linux/pci.h>
> #include<linux/vmalloc.h>
> #include<linux/delay.h>
> -#include<linux/unaligned/access_ok.h>
> #include<linux/interrupt.h>
> #include<linux/bcma/bcma.h>
> #include<linux/sched.h>
> +#include<asm/unaligned.h>
>
> #include<soc.h>
> #include<chipcommon.h>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] brcmfmac: don't include linux/unaligned/access_ok.h
2014-11-19 20:36 ` Arend van Spriel
@ 2014-11-19 20:42 ` Johannes Berg
2014-11-19 20:47 ` Arend van Spriel
0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2014-11-19 20:42 UTC (permalink / raw)
To: Arend van Spriel; +Cc: linux-wireless, brcm80211-dev-list, John Linville
On Wed, 2014-11-19 at 21:36 +0100, Arend van Spriel wrote:
> On 11/19/14 21:18, Johannes Berg wrote:
> > From: Johannes Berg<johannes.berg@intel.com>
> >
> > This is a specific implementation,<asm/unaligned.h> is the
> > multiplexer that has the arch-specific knowledge of which
> > of the implementations needs to be used, so include that.
>
> Thanks, Johannes
>
> Maybe it would be good to mention this was found by kbuild test robot.
Yeah, maybe. It was more or less by accident though :-)
John, in case I forget - I shouldn't send a mac80211-next pull request
before you merge this.
johannes
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] brcmfmac: don't include linux/unaligned/access_ok.h
2014-11-19 20:42 ` Johannes Berg
@ 2014-11-19 20:47 ` Arend van Spriel
2014-11-19 20:48 ` Johannes Berg
0 siblings, 1 reply; 6+ messages in thread
From: Arend van Spriel @ 2014-11-19 20:47 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, brcm80211-dev-list, John Linville
On 11/19/14 21:42, Johannes Berg wrote:
> On Wed, 2014-11-19 at 21:36 +0100, Arend van Spriel wrote:
>> On 11/19/14 21:18, Johannes Berg wrote:
>>> From: Johannes Berg<johannes.berg@intel.com>
>>>
>>> This is a specific implementation,<asm/unaligned.h> is the
>>> multiplexer that has the arch-specific knowledge of which
>>> of the implementations needs to be used, so include that.
>>
>> Thanks, Johannes
>>
>> Maybe it would be good to mention this was found by kbuild test robot.
>
> Yeah, maybe. It was more or less by accident though :-)
accidents happen. The pcie stuff was added in 3.17 so my question to
John is whether this can go into 3.18 and stable.
Regards,
Arend
> John, in case I forget - I shouldn't send a mac80211-next pull request
> before you merge this.
>
> johannes
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] brcmfmac: don't include linux/unaligned/access_ok.h
2014-11-19 20:47 ` Arend van Spriel
@ 2014-11-19 20:48 ` Johannes Berg
2014-11-19 20:51 ` Arend van Spriel
0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2014-11-19 20:48 UTC (permalink / raw)
To: Arend van Spriel; +Cc: linux-wireless, brcm80211-dev-list, John Linville
On Wed, 2014-11-19 at 21:47 +0100, Arend van Spriel wrote:
> On 11/19/14 21:42, Johannes Berg wrote:
> > On Wed, 2014-11-19 at 21:36 +0100, Arend van Spriel wrote:
> >> On 11/19/14 21:18, Johannes Berg wrote:
> >>> From: Johannes Berg<johannes.berg@intel.com>
> >>>
> >>> This is a specific implementation,<asm/unaligned.h> is the
> >>> multiplexer that has the arch-specific knowledge of which
> >>> of the implementations needs to be used, so include that.
> >>
> >> Thanks, Johannes
> >>
> >> Maybe it would be good to mention this was found by kbuild test robot.
> >
> > Yeah, maybe. It was more or less by accident though :-)
>
> accidents happen. The pcie stuff was added in 3.17 so my question to
> John is whether this can go into 3.18 and stable.
Could be considered, I guess you can resend the patch with appropriate
tags? I just want wireless-next to not complain about my patch ;-)
johannes
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] brcmfmac: don't include linux/unaligned/access_ok.h
2014-11-19 20:48 ` Johannes Berg
@ 2014-11-19 20:51 ` Arend van Spriel
0 siblings, 0 replies; 6+ messages in thread
From: Arend van Spriel @ 2014-11-19 20:51 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, brcm80211-dev-list, John Linville
On 11/19/14 21:48, Johannes Berg wrote:
> On Wed, 2014-11-19 at 21:47 +0100, Arend van Spriel wrote:
>> On 11/19/14 21:42, Johannes Berg wrote:
>>> On Wed, 2014-11-19 at 21:36 +0100, Arend van Spriel wrote:
>>>> On 11/19/14 21:18, Johannes Berg wrote:
>>>>> From: Johannes Berg<johannes.berg@intel.com>
>>>>>
>>>>> This is a specific implementation,<asm/unaligned.h> is the
>>>>> multiplexer that has the arch-specific knowledge of which
>>>>> of the implementations needs to be used, so include that.
>>>>
>>>> Thanks, Johannes
>>>>
>>>> Maybe it would be good to mention this was found by kbuild test robot.
>>>
>>> Yeah, maybe. It was more or less by accident though :-)
>>
>> accidents happen. The pcie stuff was added in 3.17 so my question to
>> John is whether this can go into 3.18 and stable.
>
> Could be considered, I guess you can resend the patch with appropriate
> tags? I just want wireless-next to not complain about my patch ;-)
Yeah, I also hate it when that happens. I will resend it.
Regards,
Arend
> johannes
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-11-19 20:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-19 20:18 [PATCH] brcmfmac: don't include linux/unaligned/access_ok.h Johannes Berg
2014-11-19 20:36 ` Arend van Spriel
2014-11-19 20:42 ` Johannes Berg
2014-11-19 20:47 ` Arend van Spriel
2014-11-19 20:48 ` Johannes Berg
2014-11-19 20:51 ` Arend van Spriel
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).