[PATCH] firmware: imx: sm-misc: Add missing slab.h
Frank Li
Frank.li at oss.nxp.com
Wed Dec 2 19:55:55 PST 2026
On Thu, Dec 03, 2026 at 10:55:37AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at 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 at nxp.com>
> ---
Reviewed-by: Frank Li <Frank.Li at 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 at nxp.com>
>
>
More information about the linux-arm-kernel
mailing list