From patchwork Mon Jul 13 02:00:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 11658525 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 89C3E13B4 for ; Mon, 13 Jul 2020 01:56:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7B8AF206D9 for ; Mon, 13 Jul 2020 01:56:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726523AbgGMB4H (ORCPT ); Sun, 12 Jul 2020 21:56:07 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:33366 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726261AbgGMB4H (ORCPT ); Sun, 12 Jul 2020 21:56:07 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 24DAEECCCE5C44844222; Mon, 13 Jul 2020 09:56:05 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Mon, 13 Jul 2020 09:55:54 +0800 From: Kefeng Wang To: Rishabh Bhatnagar , Bjorn Andersson , , CC: Kefeng Wang , Hulk Robot Subject: [PATCH -next] remoteproc: qcom: Add missing slab.h Date: Mon, 13 Jul 2020 10:00:03 +0800 Message-ID: <20200713020003.134039-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org 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. Reported-by: Hulk Robot Signed-off-by: Kefeng Wang --- drivers/remoteproc/qcom_common.c | 1 + 1 file changed, 1 insertion(+) 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"