linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [wireless-next:main 6/6] drivers/ssb/main.c:1148:10: error: label at end of compound statement: expected statement
@ 2024-03-13  0:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-13  0:08 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: llvm, oe-kbuild-all, Johannes Berg, Kalle Valo, linux-wireless

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: arm-randconfig-004-20240313 (https://download.01.org/0day-ci/archive/20240313/202403130705.xI2y4Nym-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240313/202403130705.xI2y4Nym-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/202403130705.xI2y4Nym-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/ssb/main.c:1148:10: error: label at end of compound statement: expected statement
           default:
                   ^
                    ;
   1 error generated.


vim +1148 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 1148 was first introduced by commit
:::::: f225763a7d6c92c4932dbd528437997078496fcc ssb, b43, b43legacy, b44: Rewrite SSB DMA API

:::::: TO: Michael Buesch <mb@bu3sch.de>
:::::: CC: John W. Linville <linville@tuxdriver.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-13  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-13  0:08 [wireless-next:main 6/6] drivers/ssb/main.c:1148:10: error: label at end of compound statement: expected statement kernel test robot

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