linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
To: Johannes Berg <johannes.berg@intel.com>,
	Gregory Greenman <gregory.greenman@intel.com>
Cc: Luca Coelho <luciano.coelho@intel.com>,
	Kalle Valo <kvalo@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, torvalds@linux-foundation.org
Subject: mainline build failure due to c1918196427b ("iwlwifi: pcie: simplify MSI-X cause mapping")
Date: Fri, 27 May 2022 10:13:06 +0100	[thread overview]
Message-ID: <YpCWIlVFd7JDPfT+@debian> (raw)

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

             reply	other threads:[~2022-05-27  9:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-27  9:13 Sudip Mukherjee [this message]
2022-05-27  9:20 ` mainline build failure due to c1918196427b ("iwlwifi: pcie: simplify MSI-X cause mapping") Kalle Valo
2022-05-27  9:23   ` Johannes Berg
2022-05-28  0:24     ` Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YpCWIlVFd7JDPfT+@debian \
    --to=sudipm.mukherjee@gmail.com \
    --cc=davem@davemloft.net \
    --cc=gregory.greenman@intel.com \
    --cc=johannes.berg@intel.com \
    --cc=kuba@kernel.org \
    --cc=kvalo@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luciano.coelho@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).