Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp643000ybh; Sun, 12 Jul 2020 18:56:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyYQUU5ttlI43PzIgUFq4Mchr18WbBVUJjwO3HOR2aAQur3UwmjF6HEixSL2MyKzWk/Jpp X-Received: by 2002:a17:907:41dc:: with SMTP id og20mr49323488ejb.183.1594605405737; Sun, 12 Jul 2020 18:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594605405; cv=none; d=google.com; s=arc-20160816; b=Phwoz1Xm8fPrhypeGSQ+rmHyePWRF6FFtK2ZPz8Re7iaftHQLDnwPV9kHJVowGLYbF 2EE37OfD1POE33Vxvp/NNl7vgsC10C1S3j68lyW4286ek7EfgqxHhg+k95795UmvVqt3 sskRVFna/IvcjlvyuE69x5y74QatOYzHAtmU0aT8N7LoJCv52BuZsx1NMblAnWi0Ryno RT63lDvnA1Bs2xdYFjC3AFfxWytNvzaGEcM0a4+nHXSTks0ANUy7g3CiwVg/uoMXUQ8d ofNtbA/8KjAVW2lRC8cCn3TcCzFqRH7HXOr1MOdysmaybHl1w71vJzrfnkbEelmqtP6Z pV7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=vIHYR7W2rEr9DmwmpVlGSbSEBoKYiUcKpMQZs8OSyLA=; b=CX12ljw4owJyNl4ltWZGJOjSBhCvEfWRny0XaUZpRhdjli59XMj6Mu6hwWv9AISV25 aU6gnJAdq6BCfE5URZtZtDYl4LH7E5Tp1C/3KMCXEN93O/Ilesp8SY9EUPIeJ89w8zQo Sq5sJPGO7gwL84JyBbshkSpKOdFDQZ0WlgqzSpfCL16ZtBi0+IM6heEOQ/Muo4mGCX9v gE+dAQVQaET5eGBelsyucWOCu0S85CH20tcErbrJbKQ5H8DBBU3ttG8pkjgBT/wie4K4 dAcKD6XFXYk/R9DcvpbshGvc8QF7pAUkGa19rDIVXE5aG22QELqBbNcUc7u0z1wrQE1w bIfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id si13si8653925ejb.188.2020.07.12.18.56.22; Sun, 12 Jul 2020 18:56:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728209AbgGMB4H (ORCPT + 99 others); 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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" -- 2.26.2