* mainline build failure due to c1918196427b ("iwlwifi: pcie: simplify MSI-X cause mapping")
@ 2022-05-27 9:13 Sudip Mukherjee
2022-05-27 9:20 ` Kalle Valo
0 siblings, 1 reply; 4+ messages in thread
From: Sudip Mukherjee @ 2022-05-27 9:13 UTC (permalink / raw)
To: Johannes Berg, Gregory Greenman
Cc: Luca Coelho, Kalle Valo, David S. Miller, Jakub Kicinski,
Paolo Abeni, linux-wireless, netdev, linux-kernel, torvalds
Hi All,
The latest mainline kernel branch fails to build for mips allmodconfig
with the error:
drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1093: error: "CAUSE" redefined [-Werror]
1093 | #define CAUSE(reg, mask) \
|
In file included from ./arch/mips/include/asm/ptrace.h:19,
from ./include/linux/sched/signal.h:14,
from ./include/linux/rcuwait.h:6,
from ./include/linux/percpu-rwsem.h:7,
from ./include/linux/fs.h:33,
from ./arch/mips/include/asm/elf.h:12,
from ./include/linux/elf.h:6,
from ./include/linux/module.h:19,
from ./include/linux/device/driver.h:21,
from ./include/linux/device.h:32,
from ./include/linux/pci.h:37,
from drivers/net/wireless/intel/iwlwifi/pcie/trans.c:7:
./arch/mips/include/uapi/asm/ptrace.h:18: note: this is the location of the previous definition
18 | #define CAUSE 65
git bisect pointed to c1918196427b ("iwlwifi: pcie: simplify MSI-X cause mapping")
And, reverting it on top of mainline branch has fixed the build failure.
--
Regards
Sudip
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mainline build failure due to c1918196427b ("iwlwifi: pcie: simplify MSI-X cause mapping")
2022-05-27 9:13 mainline build failure due to c1918196427b ("iwlwifi: pcie: simplify MSI-X cause mapping") Sudip Mukherjee
@ 2022-05-27 9:20 ` Kalle Valo
2022-05-27 9:23 ` Johannes Berg
0 siblings, 1 reply; 4+ messages in thread
From: Kalle Valo @ 2022-05-27 9:20 UTC (permalink / raw)
To: Sudip Mukherjee
Cc: Johannes Berg, Gregory Greenman, Luca Coelho, David S. Miller,
Jakub Kicinski, Paolo Abeni, linux-wireless, netdev,
linux-kernel, torvalds
Sudip Mukherjee <sudipm.mukherjee@gmail.com> writes:
> The latest mainline kernel branch fails to build for mips allmodconfig
> with the error:
>
> drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1093: error: "CAUSE" redefined [-Werror]
> 1093 | #define CAUSE(reg, mask) \
> |
> In file included from ./arch/mips/include/asm/ptrace.h:19,
> from ./include/linux/sched/signal.h:14,
> from ./include/linux/rcuwait.h:6,
> from ./include/linux/percpu-rwsem.h:7,
> from ./include/linux/fs.h:33,
> from ./arch/mips/include/asm/elf.h:12,
> from ./include/linux/elf.h:6,
> from ./include/linux/module.h:19,
> from ./include/linux/device/driver.h:21,
> from ./include/linux/device.h:32,
> from ./include/linux/pci.h:37,
> from drivers/net/wireless/intel/iwlwifi/pcie/trans.c:7:
> ./arch/mips/include/uapi/asm/ptrace.h:18: note: this is the location of the previous definition
> 18 | #define CAUSE 65
>
> git bisect pointed to c1918196427b ("iwlwifi: pcie: simplify MSI-X cause mapping")
>
> And, reverting it on top of mainline branch has fixed the build failure.
We have a fix:
iwlwifi: pcie: rename CAUSE macro
https://patchwork.kernel.org/project/linux-wireless/patch/20220523220300.682be2029361.I283200b18da589a975a284073dca8ed001ee107a@changeid/
It's marked as accepted but I don't know where it's applied to, Gregory?
This is failing the build, should Linus apply the fix directly to his
tree?
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mainline build failure due to c1918196427b ("iwlwifi: pcie: simplify MSI-X cause mapping")
2022-05-27 9:20 ` Kalle Valo
@ 2022-05-27 9:23 ` Johannes Berg
2022-05-28 0:24 ` Jakub Kicinski
0 siblings, 1 reply; 4+ messages in thread
From: Johannes Berg @ 2022-05-27 9:23 UTC (permalink / raw)
To: Kalle Valo, Sudip Mukherjee
Cc: Gregory Greenman, Luca Coelho, David S. Miller, Jakub Kicinski,
Paolo Abeni, linux-wireless, netdev, linux-kernel, torvalds
On Fri, 2022-05-27 at 12:20 +0300, Kalle Valo wrote:
>
> iwlwifi: pcie: rename CAUSE macro
>
> https://patchwork.kernel.org/project/linux-wireless/patch/20220523220300.682be2029361.I283200b18da589a975a284073dca8ed001ee107a@changeid/
>
> It's marked as accepted but I don't know where it's applied to, Gregory?
Gregory picked it up to our internal tree.
> This is failing the build, should Linus apply the fix directly to his
> tree?
I had previous asked Jakub if he wanted to do that, but he didn't (yet).
I don't know what's the best course of action right now...
No objections to it taking any kind of fast path though :)
johannes
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mainline build failure due to c1918196427b ("iwlwifi: pcie: simplify MSI-X cause mapping")
2022-05-27 9:23 ` Johannes Berg
@ 2022-05-28 0:24 ` Jakub Kicinski
0 siblings, 0 replies; 4+ messages in thread
From: Jakub Kicinski @ 2022-05-28 0:24 UTC (permalink / raw)
To: Johannes Berg
Cc: Kalle Valo, Sudip Mukherjee, Gregory Greenman, Luca Coelho,
David S. Miller, Paolo Abeni, linux-wireless, netdev,
linux-kernel, torvalds
On Fri, 27 May 2022 11:23:10 +0200 Johannes Berg wrote:
> On Fri, 2022-05-27 at 12:20 +0300, Kalle Valo wrote:
> >
> > iwlwifi: pcie: rename CAUSE macro
> >
> > https://patchwork.kernel.org/project/linux-wireless/patch/20220523220300.682be2029361.I283200b18da589a975a284073dca8ed001ee107a@changeid/
> >
> > It's marked as accepted but I don't know where it's applied to, Gregory?
>
> Gregory picked it up to our internal tree.
>
> > This is failing the build, should Linus apply the fix directly to his
> > tree?
>
> I had previous asked Jakub if he wanted to do that, but he didn't (yet).
> I don't know what's the best course of action right now...
>
> No objections to it taking any kind of fast path though :)
IIRC this is a warning and it's on MIPS only [1], so if it can make its
way to your Wed PR and I'll send it to Linus on Thu - that should be
good enough (I think).
[1] https://lore.kernel.org/all/20220523125906.20d60f1d@kernel.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-28 0:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-27 9:13 mainline build failure due to c1918196427b ("iwlwifi: pcie: simplify MSI-X cause mapping") Sudip Mukherjee
2022-05-27 9:20 ` Kalle Valo
2022-05-27 9:23 ` Johannes Berg
2022-05-28 0:24 ` Jakub Kicinski
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).