llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2 3/8] power: reset: Introduce PSCR Recording Framework for Non-Volatile Storage
       [not found] <20240124122204.730370-4-o.rempel@pengutronix.de>
@ 2024-01-28  9:05 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-28  9:05 UTC (permalink / raw)
  To: Oleksij Rempel, Sebastian Reichel, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Srinivas Kandagatla
  Cc: llvm, oe-kbuild-all, Oleksij Rempel, kernel, linux-kernel,
	Liam Girdwood, Mark Brown, Rafael J. Wysocki, Daniel Lezcano,
	Zhang Rui, Lukasz Luba, linux-pm, devicetree, Søren Andersen

Hi Oleksij,

kernel test robot noticed the following build warnings:

[auto build test WARNING on robh/for-next]
[also build test WARNING on broonie-regulator/for-next rafael-pm/thermal linus/master v6.8-rc1 next-20240125]
[cannot apply to sre-power-supply/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Oleksij-Rempel/power-Extend-power_on_reason-h-for-upcoming-PSCRR-framework/20240124-202833
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20240124122204.730370-4-o.rempel%40pengutronix.de
patch subject: [PATCH v2 3/8] power: reset: Introduce PSCR Recording Framework for Non-Volatile Storage
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240128/202401281628.Z3E5872D-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/20240128/202401281628.Z3E5872D-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/202401281628.Z3E5872D-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/power/reset/pscrr.c:132:2: warning: label at end of compound statement is a C2x extension [-Wc2x-extensions]
     132 |         }
         |         ^
   1 warning generated.


vim +132 drivers/power/reset/pscrr.c

   119	
   120	static const char *pscr_to_por_string(enum pscr pscr)
   121	{
   122		switch (pscr) {
   123		case PSCR_UNDER_VOLTAGE:
   124			return POWER_ON_REASON_BROWN_OUT;
   125		case PSCR_OVER_CURRENT:
   126			return POWER_ON_REASON_OVER_CURRENT;
   127		case PSCR_REGULATOR_FAILURE:
   128			return POWER_ON_REASON_REGULATOR_FAILURE;
   129		case PSCR_OVERTEMPERATURE:
   130			return POWER_ON_REASON_OVERTEMPERATURE;
   131		default:
 > 132		}
   133	
   134		return POWER_ON_REASON_UNKNOWN;
   135	}
   136	

-- 
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-01-28  9:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20240124122204.730370-4-o.rempel@pengutronix.de>
2024-01-28  9:05 ` [PATCH v2 3/8] power: reset: Introduce PSCR Recording Framework for Non-Volatile Storage 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).