[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202506102238.XQfScl5x-lkp@intel.com>
Date: Tue, 10 Jun 2025 23:04:29 +0800
From: kernel test robot <lkp@...el.com>
To: Yeoreum Yun <yeoreum.yun@....com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Suzuki K Poulose <suzuki.poulose@....com>,
Leo Yan <leo.yan@....com>
Subject: drivers/hwtracing/coresight/coresight-syscfg.c:398
cscfg_remove_owned_csdev_configs() warn: inconsistent indenting
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/202506102238.XQfScl5x-lkp@intel.com/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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506102238.XQfScl5x-lkp@intel.com/
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
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists