From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85632C433FE for ; Wed, 25 May 2022 09:06:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1562E8D0006; Wed, 25 May 2022 05:06:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 106678D0001; Wed, 25 May 2022 05:06:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F36028D0006; Wed, 25 May 2022 05:06:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id E77478D0001 for ; Wed, 25 May 2022 05:06:52 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay11.hostedemail.com (Postfix) with ESMTP id C833C80EAE for ; Wed, 25 May 2022 09:06:52 +0000 (UTC) X-FDA: 79503685464.05.3302C71 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by imf26.hostedemail.com (Postfix) with ESMTP id 52D2914001D for ; Wed, 25 May 2022 09:06:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653469612; x=1685005612; h=date:from:to:cc:subject:message-id:mime-version; bh=Ti4xqAv2DGZvuVg1zkWwGKZKhmzDTKqwYIi8inbx8ko=; b=T6iVQ0aa+TsOMSmMEN0iin6cGDx+X5YUjgzHxmCkFviI4+/ysEDpe5L0 sgdujctW0VdpD++EKtZt1RF2k8vPOhxjeG6Xk6KeHu8Wl8/sG7VNVWkZ1 0IdVxlNuDQojpSiBZlKME5XKWR4G4VJ0BDfxTXfY+RmtKMwstjtp/lHbn CHTvqwWiP8ZdKtCtzMQjo69hFiAsKpooLA4SKTfJXccC2rHZ5yMX2KE18 nmw6H76DALI5/DSzJWTzkCVFYqD3OITf4XUI/CG/EVTgnQbyvXmmRK1pX sgJayFWnDCNGEp2dulPlhdXBREFLnOcxMg1YpMWQyQTJb4NBHYHndWpQ9 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10357"; a="360152864" X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="360152864" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 02:06:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="609040032" Received: from lkp-server01.sh.intel.com (HELO db63a1be7222) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 25 May 2022 02:06:49 -0700 Received: from kbuild by db63a1be7222 with local (Exim 4.95) (envelope-from ) id 1ntmye-0002tc-BI; Wed, 25 May 2022 09:06:48 +0000 Date: Wed, 25 May 2022 17:05:58 +0800 From: kernel test robot To: Johannes Berg Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Gregory Greenman Subject: [linux-next:master 11985/14193] drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1093:9: warning: 'CAUSE' macro redefined Message-ID: <202205251645.gusu3spL-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Queue-Id: 52D2914001D X-Stat-Signature: h591hsc168p1b387uyfik5qsz3ud3bit Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=T6iVQ0aa; spf=none (imf26.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.43) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam03 X-HE-Tag: 1653469608-709587 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 8cb8311e95e3bb58bd84d6350365f14a718faa6d commit: c1918196427b917d1fbf064b07538410807f8b03 [11985/14193] iwlwifi: pcie: simplify MSI-X cause mapping config: mips-randconfig-r022-20220524 (https://download.01.org/0day-ci/archive/20220525/202205251645.gusu3spL-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d52a6e75b0c402c7f3b42a2b1b2873f151220947) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c1918196427b917d1fbf064b07538410807f8b03 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout c1918196427b917d1fbf064b07538410807f8b03 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/net/wireless/intel/iwlwifi/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1093:9: warning: 'CAUSE' macro redefined [-Wmacro-redefined] #define CAUSE(reg, mask) \ ^ arch/mips/include/uapi/asm/ptrace.h:18:9: note: previous definition is here #define CAUSE 65 ^ 1 warning generated. vim +/CAUSE +1093 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 1092 > 1093 #define CAUSE(reg, mask) \ 1094 { \ 1095 .mask_reg = reg, \ 1096 .bit = ilog2(mask), \ 1097 .addr = ilog2(mask) + \ 1098 ((reg) == CSR_MSIX_FH_INT_MASK_AD ? -16 : \ 1099 (reg) == CSR_MSIX_HW_INT_MASK_AD ? 16 : \ 1100 0xffff), /* causes overflow warning */ \ 1101 } 1102 -- 0-DAY CI Kernel Test Service https://01.org/lkp