2024-04-24 02:38:56

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] coresight: stm: Remove duplicate linux/acpi.h header

/drivers/hwtracing/coresight/coresight-stm.c: linux/acpi.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8871
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/hwtracing/coresight/coresight-stm.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/hwtracing/coresight/coresight-stm.c b/drivers/hwtracing/coresight/coresight-stm.c
index cbf7f17556f8..9ca04fac53fa 100644
--- a/drivers/hwtracing/coresight/coresight-stm.c
+++ b/drivers/hwtracing/coresight/coresight-stm.c
@@ -30,7 +30,6 @@
#include <linux/pm_runtime.h>
#include <linux/stm.h>
#include <linux/platform_device.h>
-#include <linux/acpi.h>

#include "coresight-priv.h"
#include "coresight-trace-id.h"
--
2.20.1.7.g153144c



2024-04-24 12:12:27

by James Clark

[permalink] [raw]
Subject: Re: [PATCH] coresight: stm: Remove duplicate linux/acpi.h header



On 24/04/2024 03:36, Jiapeng Chong wrote:
> ./drivers/hwtracing/coresight/coresight-stm.c: linux/acpi.h is included more than once.
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8871
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> drivers/hwtracing/coresight/coresight-stm.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/hwtracing/coresight/coresight-stm.c b/drivers/hwtracing/coresight/coresight-stm.c
> index cbf7f17556f8..9ca04fac53fa 100644
> --- a/drivers/hwtracing/coresight/coresight-stm.c
> +++ b/drivers/hwtracing/coresight/coresight-stm.c
> @@ -30,7 +30,6 @@
> #include <linux/pm_runtime.h>
> #include <linux/stm.h>
> #include <linux/platform_device.h>
> -#include <linux/acpi.h>
>
> #include "coresight-priv.h"
> #include "coresight-trace-id.h"

Reviewed-by: James Clark <[email protected]>


2024-04-24 15:36:34

by Suzuki K Poulose

[permalink] [raw]
Subject: Re: [PATCH] coresight: stm: Remove duplicate linux/acpi.h header

On Wed, 24 Apr 2024 10:36:05 +0800, Jiapeng Chong wrote:
> ./drivers/hwtracing/coresight/coresight-stm.c: linux/acpi.h is included more than once.
>
>

Applied, thanks!

[1/1] coresight: stm: Remove duplicate linux/acpi.h header
https://git.kernel.org/coresight/c/002026272ba523d2ae62a13b0a9febb0cdaf576e

Best regards,
--
Suzuki K Poulose <[email protected]>