* [PATCH] firmware: imx: sm-misc: Add missing slab.h
@ 2026-12-03 2:55 Peng Fan (OSS)
2026-12-03 3:55 ` Frank Li
0 siblings, 1 reply; 2+ messages in thread
From: Peng Fan (OSS) @ 2026-12-03 2:55 UTC (permalink / raw)
To: Frank Li, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
Cc: imx, linux-arm-kernel, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Include slab.h since kmalloc is used in this driver per the Include What
You Use (IWYU) principle.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
drivers/firmware/imx/sm-misc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/firmware/imx/sm-misc.c b/drivers/firmware/imx/sm-misc.c
index 178a3f7485b1..aafbe7ec4eb4 100644
--- a/drivers/firmware/imx/sm-misc.c
+++ b/drivers/firmware/imx/sm-misc.c
@@ -13,6 +13,7 @@
#include <linux/scmi_imx_protocol.h>
#include <linux/seq_file.h>
#include <linux/sizes.h>
+#include <linux/slab.h>
static const struct scmi_imx_misc_proto_ops *imx_misc_ctrl_ops;
static struct scmi_protocol_handle *ph;
---
base-commit: 253f86660c1f882fbf554db5eaa34bc5d66dc7e8
change-id: 20261203-sm-misc-imx-24e20cdaa8b0
Best regards,
--
Peng Fan <peng.fan@nxp.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] firmware: imx: sm-misc: Add missing slab.h
2026-12-03 2:55 [PATCH] firmware: imx: sm-misc: Add missing slab.h Peng Fan (OSS)
@ 2026-12-03 3:55 ` Frank Li
0 siblings, 0 replies; 2+ messages in thread
From: Frank Li @ 2026-12-03 3:55 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: Frank Li, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
imx, linux-arm-kernel, Peng Fan
On Thu, Dec 03, 2026 at 10:55:37AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Include slab.h since kmalloc is used in this driver per the Include What
> You Use (IWYU) principle.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
Reviewed-by: Frank Li <Frank.Li@nxp.com>
> drivers/firmware/imx/sm-misc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/firmware/imx/sm-misc.c b/drivers/firmware/imx/sm-misc.c
> index 178a3f7485b1..aafbe7ec4eb4 100644
> --- a/drivers/firmware/imx/sm-misc.c
> +++ b/drivers/firmware/imx/sm-misc.c
> @@ -13,6 +13,7 @@
> #include <linux/scmi_imx_protocol.h>
> #include <linux/seq_file.h>
> #include <linux/sizes.h>
> +#include <linux/slab.h>
>
> static const struct scmi_imx_misc_proto_ops *imx_misc_ctrl_ops;
> static struct scmi_protocol_handle *ph;
>
> ---
> base-commit: 253f86660c1f882fbf554db5eaa34bc5d66dc7e8
> change-id: 20261203-sm-misc-imx-24e20cdaa8b0
>
> Best regards,
> --
> Peng Fan <peng.fan@nxp.com>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-03 3:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 2:55 [PATCH] firmware: imx: sm-misc: Add missing slab.h Peng Fan (OSS)
2026-12-03 3:55 ` Frank Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox