arm_mpam: Remove duplicate linux/srcu.h header
PATCH 1/1 arm_mpam: Remove duplicate linux/srcu.h header
./drivers/resctrl/mpam_internal.h: linux/srcu.h is included more than once.
--- drivers/resctrl/mpam_internal.h | 1 - 1 file changed, 1 deletion(-)
drivers/resctrl/mpam_internal.h +0 -1
@@ -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
Signature · 1 line
2.43.5
Fenghua Yu
reviewerHi, Jiapeng,
Quoted 2 lines · Jiapeng Chong
./drivers/resctrl/mpam_internal.h:linux/srcu.his included more than once.
Do you need to add "Fixes:" here?
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."
Quoted 12 lines
Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>--- drivers/resctrl/mpam_internal.h | 1 - 1 file changed, 1 deletion(-)drivers/resctrl/mpam_internal.h +0
-0
drivers/resctrl/mpam_internal.h line 19
Quoted 7 lines
drivers/resctrl/mpam_internal.h +0
-1@@ -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
Hi Jiapeng,
drivers/resctrl/mpam_internal.h line 17
Quoted 12 lines · Jiapeng Chong
./drivers/resctrl/mpam_internal.h:linux/srcu.his included more than once.drivers/resctrl/mpam_internal.h +0
-1@@ -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,
Thanks,
James