* [PATCH 1/2] clk: rockchip: rk3576: add missing slab.h include
@ 2025-05-15 8:26 Heiko Stuebner
2025-05-15 8:26 ` [PATCH 2/2] clk: rockchip: rk3528: add slab.h header include Heiko Stuebner
2025-05-15 12:50 ` [PATCH 1/2] clk: rockchip: rk3576: add missing slab.h include Heiko Stuebner
0 siblings, 2 replies; 3+ messages in thread
From: Heiko Stuebner @ 2025-05-15 8:26 UTC (permalink / raw)
To: heiko
Cc: mturquette, sboyd, nicolas.frattaroli, ziyao, linux-clk,
linux-arm-kernel, linux-rockchip, linux-kernel,
kernel test robot
The change for auxiliary GRFs introduced kzalloc usage into the rk3576 clock
driver, but missed adding the header for its prototype. Add it now.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505150941.KWKskr2c-lkp@intel.com/
Fixes: 70a114daf207 ("clk: rockchip: introduce auxiliary GRFs")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
drivers/clk/rockchip/clk-rk3576.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/rockchip/clk-rk3576.c b/drivers/clk/rockchip/clk-rk3576.c
index 71e77013f726..1f4547af5acf 100644
--- a/drivers/clk/rockchip/clk-rk3576.c
+++ b/drivers/clk/rockchip/clk-rk3576.c
@@ -10,6 +10,7 @@
#include <linux/platform_device.h>
#include <linux/syscore_ops.h>
#include <linux/mfd/syscon.h>
+#include <linux/slab.h>
#include <dt-bindings/clock/rockchip,rk3576-cru.h>
#include "clk.h"
--
2.47.2
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 2/2] clk: rockchip: rk3528: add slab.h header include
2025-05-15 8:26 [PATCH 1/2] clk: rockchip: rk3576: add missing slab.h include Heiko Stuebner
@ 2025-05-15 8:26 ` Heiko Stuebner
2025-05-15 12:50 ` [PATCH 1/2] clk: rockchip: rk3576: add missing slab.h include Heiko Stuebner
1 sibling, 0 replies; 3+ messages in thread
From: Heiko Stuebner @ 2025-05-15 8:26 UTC (permalink / raw)
To: heiko
Cc: mturquette, sboyd, nicolas.frattaroli, ziyao, linux-clk,
linux-arm-kernel, linux-rockchip, linux-kernel
The newly added GRF types introduced kzalloc usage into the rk3528.
At least for the similar rk3576 driver, the kernel-test-robot reported the
missing prototype, which warranted adding a slab.h include.
While it did not complain about the rk3528, so the header might be included
"accidentially" right now, add a real include to make sure we keep it
included in the future.
Fixes: 306d2f5ddaa7 ("clk: rockchip: rk3528: Add SD/SDIO tuning clocks in GRF region")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
drivers/clk/rockchip/clk-rk3528.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/rockchip/clk-rk3528.c b/drivers/clk/rockchip/clk-rk3528.c
index f5f10493abfb..a5ff64b93f8f 100644
--- a/drivers/clk/rockchip/clk-rk3528.c
+++ b/drivers/clk/rockchip/clk-rk3528.c
@@ -12,6 +12,7 @@
#include <linux/platform_device.h>
#include <linux/mfd/syscon.h>
#include <linux/minmax.h>
+#include <linux/slab.h>
#include <dt-bindings/clock/rockchip,rk3528-cru.h>
--
2.47.2
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH 1/2] clk: rockchip: rk3576: add missing slab.h include
2025-05-15 8:26 [PATCH 1/2] clk: rockchip: rk3576: add missing slab.h include Heiko Stuebner
2025-05-15 8:26 ` [PATCH 2/2] clk: rockchip: rk3528: add slab.h header include Heiko Stuebner
@ 2025-05-15 12:50 ` Heiko Stuebner
1 sibling, 0 replies; 3+ messages in thread
From: Heiko Stuebner @ 2025-05-15 12:50 UTC (permalink / raw)
To: Heiko Stuebner
Cc: mturquette, sboyd, nicolas.frattaroli, ziyao, linux-clk,
linux-arm-kernel, linux-rockchip, linux-kernel,
kernel test robot
On Thu, 15 May 2025 10:26:51 +0200, Heiko Stuebner wrote:
> The change for auxiliary GRFs introduced kzalloc usage into the rk3576 clock
> driver, but missed adding the header for its prototype. Add it now.
>
>
Applied, thanks!
[1/2] clk: rockchip: rk3576: add missing slab.h include
commit: 92da5c3cba23ee4be2c043bb63a551c89c48de18
[2/2] clk: rockchip: rk3528: add slab.h header include
commit: 276036283716b9135525b195675ea42801bde204
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-15 12:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-15 8:26 [PATCH 1/2] clk: rockchip: rk3576: add missing slab.h include Heiko Stuebner
2025-05-15 8:26 ` [PATCH 2/2] clk: rockchip: rk3528: add slab.h header include Heiko Stuebner
2025-05-15 12:50 ` [PATCH 1/2] clk: rockchip: rk3576: add missing slab.h include Heiko Stuebner
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®