linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] coresight: fix indentation error in cscfg_remove_owned_csdev_configs()
@ 2025-06-11 10:30 Yeoreum Yun
  2025-06-11 11:01 ` Leo Yan
  2025-07-22 15:52 ` Suzuki K Poulose
  0 siblings, 2 replies; 3+ messages in thread
From: Yeoreum Yun @ 2025-06-11 10:30 UTC (permalink / raw)
  To: suzuki.poulose, mike.leach, james.clark, alexander.shishkin,
	leo.yan
  Cc: coresight, linux-arm-kernel, linux-kernel, Yeoreum Yun,
	kernel test robot

Fix wrong indentation in cscfg_remove_owned_csdev_configs()

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506102238.XQfScl5x-lkp@intel.com/
Fixes: 53b9e2659719 ("coresight: holding cscfg_csdev_lock while removing cscfg from csdev")
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
---

Sorry for my bad forgetting to run checkpatch.pl...

---
 drivers/hwtracing/coresight/coresight-syscfg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwtracing/coresight/coresight-syscfg.c b/drivers/hwtracing/coresight/coresight-syscfg.c
index 83dad24e0116..6836b05986e8 100644
--- a/drivers/hwtracing/coresight/coresight-syscfg.c
+++ b/drivers/hwtracing/coresight/coresight-syscfg.c
@@ -395,7 +395,7 @@ static void cscfg_remove_owned_csdev_configs(struct coresight_device *csdev, voi
 	if (list_empty(&csdev->config_csdev_list))
 		return;

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

 	list_for_each_entry_safe(config_csdev, tmp, &csdev->config_csdev_list, node) {
 		if (config_csdev->config_desc->load_owner == load_owner)
--
LEVI:{C3F47F37-75D8-414A-A8BA-3980EC8A46D7}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] coresight: fix indentation error in cscfg_remove_owned_csdev_configs()
  2025-06-11 10:30 [PATCH v2] coresight: fix indentation error in cscfg_remove_owned_csdev_configs() Yeoreum Yun
@ 2025-06-11 11:01 ` Leo Yan
  2025-07-22 15:52 ` Suzuki K Poulose
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Yan @ 2025-06-11 11:01 UTC (permalink / raw)
  To: Yeoreum Yun
  Cc: suzuki.poulose, mike.leach, james.clark, alexander.shishkin,
	coresight, linux-arm-kernel, linux-kernel, kernel test robot

On Wed, Jun 11, 2025 at 11:30:25AM +0100, Yeoreum Yun wrote:
> Fix wrong indentation in cscfg_remove_owned_csdev_configs()
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202506102238.XQfScl5x-lkp@intel.com/
> Fixes: 53b9e2659719 ("coresight: holding cscfg_csdev_lock while removing cscfg from csdev")
> Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>

Reviewed-by: Leo Yan <leo.yan@arm.com>

> ---
> 
> Sorry for my bad forgetting to run checkpatch.pl...
> 
> ---
>  drivers/hwtracing/coresight/coresight-syscfg.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hwtracing/coresight/coresight-syscfg.c b/drivers/hwtracing/coresight/coresight-syscfg.c
> index 83dad24e0116..6836b05986e8 100644
> --- a/drivers/hwtracing/coresight/coresight-syscfg.c
> +++ b/drivers/hwtracing/coresight/coresight-syscfg.c
> @@ -395,7 +395,7 @@ static void cscfg_remove_owned_csdev_configs(struct coresight_device *csdev, voi
>  	if (list_empty(&csdev->config_csdev_list))
>  		return;
> 
> -  guard(raw_spinlock_irqsave)(&csdev->cscfg_csdev_lock);
> +	guard(raw_spinlock_irqsave)(&csdev->cscfg_csdev_lock);
> 
>  	list_for_each_entry_safe(config_csdev, tmp, &csdev->config_csdev_list, node) {
>  		if (config_csdev->config_desc->load_owner == load_owner)
> --
> LEVI:{C3F47F37-75D8-414A-A8BA-3980EC8A46D7}
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] coresight: fix indentation error in cscfg_remove_owned_csdev_configs()
  2025-06-11 10:30 [PATCH v2] coresight: fix indentation error in cscfg_remove_owned_csdev_configs() Yeoreum Yun
  2025-06-11 11:01 ` Leo Yan
@ 2025-07-22 15:52 ` Suzuki K Poulose
  1 sibling, 0 replies; 3+ messages in thread
From: Suzuki K Poulose @ 2025-07-22 15:52 UTC (permalink / raw)
  To: mike.leach, james.clark, alexander.shishkin, leo.yan, Yeoreum Yun
  Cc: Suzuki K Poulose, coresight, linux-arm-kernel, linux-kernel,
	kernel test robot


On Wed, 11 Jun 2025 11:30:25 +0100, Yeoreum Yun wrote:
> Fix wrong indentation in cscfg_remove_owned_csdev_configs()
> 
> 

Applied, thanks!

[1/1] coresight: fix indentation error in cscfg_remove_owned_csdev_configs()
      https://git.kernel.org/coresight/c/a80198ba650f

Best regards,
-- 
Suzuki K Poulose <suzuki.poulose@arm.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-22 15:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-11 10:30 [PATCH v2] coresight: fix indentation error in cscfg_remove_owned_csdev_configs() Yeoreum Yun
2025-06-11 11:01 ` Leo Yan
2025-07-22 15:52 ` Suzuki K Poulose

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