Skip to contentSkip to conversation

drivers/hwtracing/coresight/coresight-syscfg.c:398 cscfg_remove_owned_csdev_configs() warn: inconsistent indenting

DISCUSSION kernel test robot 1 participant 1 message Jun 10, 2025

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f09079bd04a924c72d555cd97942d5f8d7eca98c
commit: 53b9e2659719b04f5ba7593f2af0f2335f75e94a coresight: holding cscfg_csdev_lock while removing cscfg from csdev
date:   3 weeks ago
config: arm-randconfig-r073-20250610 (https://download.01.org/0day-ci/archive/20250610/[email protected]/config)
compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0

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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

smatch warnings:
drivers/hwtracing/coresight/coresight-syscfg.c:398 cscfg_remove_owned_csdev_configs() warn: inconsistent indenting

vim +398 drivers/hwtracing/coresight/coresight-syscfg.c

390
391 static void cscfg_remove_owned_csdev_configs(struct coresight_device *csdev, void *load_owner)
392 {
393 struct cscfg_config_csdev *config_csdev, *tmp;
394
395 if (list_empty(&csdev->config_csdev_list))
396 return;
397

 > 398	  guard(raw_spinlock_irqsave)(&csdev->cscfg_csdev_lock);

399
400 list_for_each_entry_safe(config_csdev, tmp, &csdev->config_csdev_list, node) {
401 if (config_csdev->config_desc->load_owner == load_owner)
402 list_del(&config_csdev->node);
403 }
404 }
405

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