From: kernel test robot <lkp@intel.com>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Johannes Berg <johannes@sipsolutions.net>,
Kalle Valo <kvalo@kernel.org>,
linux-wireless@vger.kernel.org
Subject: [wireless-next:main 6/6] drivers/ssb/main.c:1149:2: warning: label at end of compound statement is a C2x extension
Date: Wed, 13 Mar 2024 07:24:21 +0800 [thread overview]
Message-ID: <202403130717.TWm17FiD-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
head: e27b02e23a701e5761f1d6028643e1203a1c56de
commit: e27b02e23a701e5761f1d6028643e1203a1c56de [6/6] ssb: drop use of non-existing CONFIG_SSB_DEBUG symbol
config: i386-buildonly-randconfig-004-20240313 (https://download.01.org/0day-ci/archive/20240313/202403130717.TWm17FiD-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240313/202403130717.TWm17FiD-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403130717.TWm17FiD-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/ssb/main.c:1149:2: warning: label at end of compound statement is a C2x extension [-Wc2x-extensions]
1149 | }
| ^
1 warning generated.
vim +1149 drivers/ssb/main.c
04023afcce2eaf Rafał Miłecki 2011-08-14 1132
61e115a56d1aaf Michael Buesch 2007-09-18 1133 u32 ssb_dma_translation(struct ssb_device *dev)
61e115a56d1aaf Michael Buesch 2007-09-18 1134 {
61e115a56d1aaf Michael Buesch 2007-09-18 1135 switch (dev->bus->bustype) {
61e115a56d1aaf Michael Buesch 2007-09-18 1136 case SSB_BUSTYPE_SSB:
61e115a56d1aaf Michael Buesch 2007-09-18 1137 return 0;
61e115a56d1aaf Michael Buesch 2007-09-18 1138 case SSB_BUSTYPE_PCI:
04023afcce2eaf Rafał Miłecki 2011-08-14 1139 if (pci_is_pcie(dev->bus->host_pci) &&
04023afcce2eaf Rafał Miłecki 2011-08-14 1140 ssb_read32(dev, SSB_TMSHIGH) & SSB_TMSHIGH_DMA64) {
04023afcce2eaf Rafał Miłecki 2011-08-14 1141 return SSB_PCIE_DMA_H32;
04023afcce2eaf Rafał Miłecki 2011-08-14 1142 } else {
04023afcce2eaf Rafał Miłecki 2011-08-14 1143 if (ssb_dma_translation_special_bit(dev))
a9770a815d280d Rafał Miłecki 2011-07-20 1144 return SSB_PCIE_DMA_H32;
a9770a815d280d Rafał Miłecki 2011-07-20 1145 else
61e115a56d1aaf Michael Buesch 2007-09-18 1146 return SSB_PCI_DMA;
04023afcce2eaf Rafał Miłecki 2011-08-14 1147 }
f225763a7d6c92 Michael Buesch 2008-06-20 1148 default:
61e115a56d1aaf Michael Buesch 2007-09-18 @1149 }
61e115a56d1aaf Michael Buesch 2007-09-18 1150 return 0;
61e115a56d1aaf Michael Buesch 2007-09-18 1151 }
61e115a56d1aaf Michael Buesch 2007-09-18 1152 EXPORT_SYMBOL(ssb_dma_translation);
61e115a56d1aaf Michael Buesch 2007-09-18 1153
:::::: The code at line 1149 was first introduced by commit
:::::: 61e115a56d1aafd6e6a8a9fee8ac099a6128ac7b [SSB]: add Sonics Silicon Backplane bus support
:::::: TO: Michael Buesch <mb@bu3sch.de>
:::::: CC: David S. Miller <davem@sunset.davemloft.net>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-03-12 23:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202403130717.TWm17FiD-lkp@intel.com \
--to=lkp@intel.com \
--cc=johannes@sipsolutions.net \
--cc=kvalo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rdunlap@infradead.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).