From: Kefeng Wang Date: Mon, 13 Jul 2020 02:00:03 +0000 (+0800) Subject: remoteproc: qcom: Add missing slab.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0cf17702d872128fc2bec79a9578b5cb00d54a11;p=linux.git remoteproc: qcom: Add missing slab.h drivers/remoteproc/qcom_common.c: In function 'qcom_ssr_get_subsys': drivers/remoteproc/qcom_common.c:210:9: error: implicit declaration of function 'kzalloc'; did you mean 'vzalloc'? [-Werror=implicit-function-declaration] info = kzalloc(sizeof(*info), GFP_KERNEL); ^~~~~~~ vzalloc kzalloc() is declared in linux/slab.h, add include to fix build issue. Tested-by: Alex Elder Reported-by: Hulk Robot Signed-off-by: Kefeng Wang Link: https://lore.kernel.org/r/20200713020003.134039-1-wangkefeng.wang@huawei.com Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/qcom_common.c b/drivers/remoteproc/qcom_common.c index 2f45f0c79914e..085fd73fa23ae 100644 --- a/drivers/remoteproc/qcom_common.c +++ b/drivers/remoteproc/qcom_common.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include "remoteproc_internal.h"