* [PATCH -next] arm_mpam: Remove duplicate linux/srcu.h header
@ 2025-11-21 3:39 Jiapeng Chong
2025-11-21 23:15 ` Fenghua Yu
2025-11-25 11:33 ` James Morse
0 siblings, 2 replies; 3+ messages in thread
From: Jiapeng Chong @ 2025-11-21 3:39 UTC (permalink / raw)
To: james.morse
Cc: ben.horgan, reinette.chatre, fenghuay, linux-kernel,
Jiapeng Chong, Abaci Robot
./drivers/resctrl/mpam_internal.h: linux/srcu.h is included more than once.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=27328
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
drivers/resctrl/mpam_internal.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/resctrl/mpam_internal.h b/drivers/resctrl/mpam_internal.h
index e79c3c47259c..f733bed011bd 100644
--- a/drivers/resctrl/mpam_internal.h
+++ b/drivers/resctrl/mpam_internal.h
@@ -14,7 +14,6 @@
#include <linux/mutex.h>
#include <linux/srcu.h>
#include <linux/spinlock.h>
-#include <linux/srcu.h>
#include <linux/types.h>
#define MPAM_MSC_MAX_NUM_RIS 16
--
2.43.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] arm_mpam: Remove duplicate linux/srcu.h header
2025-11-21 3:39 [PATCH -next] arm_mpam: Remove duplicate linux/srcu.h header Jiapeng Chong
@ 2025-11-21 23:15 ` Fenghua Yu
2025-11-25 11:33 ` James Morse
1 sibling, 0 replies; 3+ messages in thread
From: Fenghua Yu @ 2025-11-21 23:15 UTC (permalink / raw)
To: Jiapeng Chong, james.morse
Cc: ben.horgan, reinette.chatre, linux-kernel, Abaci Robot
Hi, Jiapeng,
On 11/20/25 19:39, Jiapeng Chong wrote:
> ./drivers/resctrl/mpam_internal.h: linux/srcu.h is included more than once.
>
Do you need to add "Fixes:" here?
Fixes: 8c90dc68a5de ("arm_mpam: Probe the hardware features resctrl
supports")
Not sure it's necessary for this minor fix but
Documentations/process/submitting-patches.rst says "If your patch fixes
a bug in a specific commit, e.g. you found an issue using
``git bisect``, please use the 'Fixes:' tag with at least the first 12
characters of the SHA-1 ID, and the one line summary. Do not split the tag
across multiple lines, tags are exempt from the "wrap at 75 columns" rule in
order to simplify parsing scripts."
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=27328
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
> drivers/resctrl/mpam_internal.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/resctrl/mpam_internal.h b/drivers/resctrl/mpam_internal.h
> index e79c3c47259c..f733bed011bd 100644
> --- a/drivers/resctrl/mpam_internal.h
> +++ b/drivers/resctrl/mpam_internal.h
> @@ -14,7 +14,6 @@
> #include <linux/mutex.h>
> #include <linux/srcu.h>
> #include <linux/spinlock.h>
> -#include <linux/srcu.h>
> #include <linux/types.h>
>
> #define MPAM_MSC_MAX_NUM_RIS 16
Thanks.
-Fenghua
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] arm_mpam: Remove duplicate linux/srcu.h header
2025-11-21 3:39 [PATCH -next] arm_mpam: Remove duplicate linux/srcu.h header Jiapeng Chong
2025-11-21 23:15 ` Fenghua Yu
@ 2025-11-25 11:33 ` James Morse
1 sibling, 0 replies; 3+ messages in thread
From: James Morse @ 2025-11-25 11:33 UTC (permalink / raw)
To: Jiapeng Chong
Cc: ben.horgan, reinette.chatre, fenghuay, linux-kernel, Abaci Robot
Hi Jiapeng,
On 21/11/2025 03:39, Jiapeng Chong wrote:
> ./drivers/resctrl/mpam_internal.h: linux/srcu.h is included more than once.
> diff --git a/drivers/resctrl/mpam_internal.h b/drivers/resctrl/mpam_internal.h
> index e79c3c47259c..f733bed011bd 100644
> --- a/drivers/resctrl/mpam_internal.h
> +++ b/drivers/resctrl/mpam_internal.h
> @@ -14,7 +14,6 @@
> #include <linux/mutex.h>
> #include <linux/srcu.h>
> #include <linux/spinlock.h>
> -#include <linux/srcu.h>
> #include <linux/types.h>
(If you removed the other entry instead the list would be alphabetical order)
Either way,
Acked-by: James Morse <james.morse@arm.com>
Thanks,
James
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-25 11:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-21 3:39 [PATCH -next] arm_mpam: Remove duplicate linux/srcu.h header Jiapeng Chong
2025-11-21 23:15 ` Fenghua Yu
2025-11-25 11:33 ` James Morse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®