samsung: Sort Makefile
Subsystems (3)
PATCH 1/1 samsung: Sort Makefile
--- drivers/clk/samsung/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/clk/samsung/Makefile +5 -5
@@ -7,20 +7,20 @@ obj-$(CONFIG_COMMON_CLK) += clk.o clk-pll.o clk-cpu.o obj-$(CONFIG_EXYNOS_3250_COMMON_CLK) += clk-exynos3250.o obj-$(CONFIG_EXYNOS_4_COMMON_CLK) += clk-exynos4.o obj-$(CONFIG_EXYNOS_4_COMMON_CLK) += clk-exynos4412-isp.o -obj-$(CONFIG_EXYNOS_5250_COMMON_CLK) += clk-exynos5250.o obj-$(CONFIG_EXYNOS_5250_COMMON_CLK) += clk-exynos5-subcmu.o +obj-$(CONFIG_EXYNOS_5250_COMMON_CLK) += clk-exynos5250.o obj-$(CONFIG_EXYNOS_5260_COMMON_CLK) += clk-exynos5260.o obj-$(CONFIG_EXYNOS_5410_COMMON_CLK) += clk-exynos5410.o -obj-$(CONFIG_EXYNOS_5420_COMMON_CLK) += clk-exynos5420.o obj-$(CONFIG_EXYNOS_5420_COMMON_CLK) += clk-exynos5-subcmu.o -obj-$(CONFIG_EXYNOS_ARM64_COMMON_CLK) += clk-exynos5433.o -obj-$(CONFIG_EXYNOS_AUDSS_CLK_CON) += clk-exynos-audss.o -obj-$(CONFIG_EXYNOS_CLKOUT) += clk-exynos-clkout.o +obj-$(CONFIG_EXYNOS_5420_COMMON_CLK) += clk-exynos5420.o obj-$(CONFIG_EXYNOS_ARM64_COMMON_CLK) += clk-exynos-arm64.o +obj-$(CONFIG_EXYNOS_ARM64_COMMON_CLK) += clk-exynos5433.o obj-$(CONFIG_EXYNOS_ARM64_COMMON_CLK) += clk-exynos7.o obj-$(CONFIG_EXYNOS_ARM64_COMMON_CLK) += clk-exynos7885.o obj-$(CONFIG_EXYNOS_ARM64_COMMON_CLK) += clk-exynos850.o obj-$(CONFIG_EXYNOS_ARM64_COMMON_CLK) += clk-exynosautov9.o +obj-$(CONFIG_EXYNOS_AUDSS_CLK_CON) += clk-exynos-audss.o +obj-$(CONFIG_EXYNOS_CLKOUT) += clk-exynos-clkout.o obj-$(CONFIG_S3C64XX_COMMON_CLK) += clk-s3c64xx.o obj-$(CONFIG_S5PV210_COMMON_CLK) += clk-s5pv210.o clk-s5pv210-audss.o obj-$(CONFIG_TESLA_FSD_COMMON_CLK) += clk-fsd.o
Signature · 1 line
2.42.0
Krzysztof Kozlowski
maintainerQuoted 4 lines · Petr Vorel
Signed-off-by Petr Vorel <[email protected]>--- drivers/clk/samsung/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC (and consider --no-git-fallback argument). It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel.
Best regards,
Krzysztof
Krzysztof Kozlowski
maintainerQuoted 3 lines · Krzysztof Kozlowski
Quoted 2 lines · Petr Vorel
Signed-off-by Petr Vorel <[email protected]>---
You also lack commit msg explaining why doing this.
Please use subject prefixes matching the subsystem. You can get them for example with git log --oneline -- DIRECTORY_OR_FILE on the directory your patch is touching.
Best regards,
Krzysztof
Hi Krzysztof,
Quoted 6 lines · Krzysztof Kozlowski
Quoted 3 lines · Petr Vorel
Quoted 2 lines
Signed-off-by Petr Vorel <[email protected]>---
You also lack commit msg explaining why doing this.
I'm sorry, I thought the reason is obvious - readability.
Some Makefiles are tried to be sorted (e.g. drivers/clk/qcom/Makefile), but lots of them are not (drivers/net/Makefile). Anyway, it's up to you (and other maintainers) to judge if it's useful or not. If considered useful, I'll send v2.
Quoted 3 lines
Please use subject prefixes matching the subsystem. You can get them for example with
git log --oneline -- DIRECTORY_OR_FILEon the directory your patch is touching.
Ah, I'm sorry. I did this actually (do that each time I send patch for kernel), but I somehow overlooked "clk: ".
Kind regards,
Petr
Quoted 2 lines
Best regards,
Krzysztof
Krzysztof Kozlowski
maintainerQuoted 7 lines · Petr Vorel
Hi Krzysztof,
Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Petr Vorel
Quoted 2 lines
Signed-off-by Petr Vorel <[email protected]>---
Quoted 8 lines
Quoted 1 line
You also lack commit msg explaining why doing this.
I'm sorry, I thought the reason is obvious - readability.
Some Makefiles are tried to be sorted (e.g.
drivers/clk/qcom/Makefile), but lots of them are not (drivers/net/Makefile). Anyway, it's up to you (and other maintainers) to judge if it's useful or not. If considered useful, I'll send v2.
The commit should come with message justifying it. It's also not clear what do you sort - entries are sorted by Kconfig, but you move CONFIG_EXYNOS_5250_COMMON_CLK.
Best regards,
Krzysztof
Quoted 11 lines · Petr Vorel
Quoted 9 lines
Hi Krzysztof,
Quoted 6 lines · Krzysztof Kozlowski
Quoted 3 lines · Petr Vorel
Quoted 2 lines
Signed-off-by Petr Vorel <[email protected]>---
You also lack commit msg explaining why doing this.
I'm sorry, I thought the reason is obvious - readability.
Quoted 7 lines
Quoted 4 lines
Some Makefiles are tried to be sorted (e.g.
drivers/clk/qcom/Makefile), but lots of them are not (drivers/net/Makefile). Anyway, it's up to you (and other maintainers) to judge if it's useful or not. If considered useful, I'll send v2.The commit should come with message justifying it. It's also not clear
Sure.
Quoted 2 lines
what do you sort - entries are sorted by
Kconfig, but you moveCONFIG_EXYNOS_5250_COMMON_CLK.
All entries are sorted, i.e. by obj-$() and then by it's entries (items behind +=).
At least CONFIG_EXYNOS_ARM64_COMMON_CLK is not sorted.
But anyway, feel free to reject this idea immediately, it's not worth of such in depth discussion.
Kind regards,
Petr
Quoted 2 lines
Best regards,
Krzysztof
Hi Krzysztof,
Quoted 11 lines · Petr Vorel
Quoted 4 lines
Signed-off-by Petr Vorel <[email protected]>--- drivers/clk/samsung/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)Please use
scripts/get_maintainers.plto get a list of necessary people and lists to CC (and consider --no-git-fallback argument). It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel.
Sure, I'll do next time.
Kind regards,
Petr
Quoted 2 lines
Best regards,
Krzysztof