linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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

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).