All of lore.kernel.org
 help / color / mirror / Atom feed
* [stefandoesinger-zx297520:dlink 69/121] checkpatch: ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
@ 2026-06-18 17:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-18 17:38 UTC (permalink / raw)
  To: Stefan Dösinger ; +Cc: oe-kbuild-all

tree:   https://gitlab.com/stefandoesinger/zx297520-kernel dlink
head:   9c0dea96595ed07b9d3948c7bd1a5dc915573121
commit: 412031528a775a2630dc7a0b13acf7e31b07defc [69/121] zx29 qspi driver
reproduce: (https://download.01.org/0day-ci/archive/20260618/202606181949.gXMYALNk-lkp@intel.com/reproduce)

# many are suggestions rather than must-fix

ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#427: FILE: drivers/spi/spi-zx.c:300:
+		switch (op->addr.buswidth * op->addr.nbytes) {
+			case 1: ctrl2 |= (ADDR_BYTE_WIDTH_8 << ZX_QSPI_ADDR_BYTE_NUM); break;
+			case 2: ctrl2 |= (ADDR_BYTE_WIDTH_16 << ZX_QSPI_ADDR_BYTE_NUM); break;
+			case 3: ctrl2 |= (ADDR_BYTE_WIDTH_24 << ZX_QSPI_ADDR_BYTE_NUM); break;
+			case 4: ctrl2 |= (ADDR_BYTE_WIDTH_32 << ZX_QSPI_ADDR_BYTE_NUM); break;
+			default:

--
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:[~2026-06-18 17:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-18 17:38 [stefandoesinger-zx297520:dlink 69/121] checkpatch: ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.