From patchwork Wed Jun 17 06:56:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Naresh Kamboju X-Patchwork-Id: 188122 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp196541ilo; Tue, 16 Jun 2020 23:57:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNlM+fGI65DX46VmD0H8aE/7pI7Sl5gtS7bFxoxw+JqJbp/zG7xL/KyPB2g8V+WxAMVhWk X-Received: by 2002:a05:6402:3ca:: with SMTP id t10mr6129390edw.128.1592377038055; Tue, 16 Jun 2020 23:57:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592377038; cv=none; d=google.com; s=arc-20160816; b=QMtkrthB3/cbzWd6s/BdmEv+wr/1ErxRglGITl07b2chUo9Wl4JhDaozm3ICEXLWWn Fm86Ea2OT+PdC1sc4EGpoNSLWk5JHuuLFHeIqTkuuNICunEjLmVTBISjkQz6dqL3AAcM NXDWNBCvz7gaDOTyLrIWHNuf1anogk41W3pmr+xcPqr+IF3xx9n5D1+N7Q/+UZy9KOW+ LX5rtQIFtjU4K62hYAKs1+tp1lqpr9MKlEfj2vaH3zSsCO9Q9NUQrNBcZORsBYHXv5Dc 69uBmbXb48+iAoZYcGKeEY8GGDbVuT/GV9ZflS9yAcQLz9RRSrR6fz28hktP8cuoXv4d QRfw== 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:dkim-signature; bh=6MPJxEon2gYUIC1eBRZV/RlBMiONJCU2XKZGULfkvGk=; b=yH6VI22oscYCjXYS64i4UdjDjbsZg5Ci0b/GHll5X+GBB214F7l/byM48Wl7HdD3xa e5cfhqcrjAOV4mbrpgGSSznA/CWSlqw3vSqpsKf/HOcRKVfixeB2d9VLAwlc8hZzh4Pk eK3Mhv3zM1ZEFQuE5NKdLGATMM4hl/0ljuMlWgWbIA9RPf/5+E/V5vUzTp73vrNQ7zKj 1h6xWTgt295pXWmatlPP7kKgiq+oi9IiCeXUPwBLLToFMpmZeAPaTPBd1wsNASbJHX5H 0QgpXyI86lpayY1ZfQttWaK+8RvbbJEJxoF+9jA6/uWxpY417NUbhlQQSmEYWJFtvtrt 0P8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rHoCnRxv; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si13936944edn.437.2020.06.16.23.57.17; Tue, 16 Jun 2020 23:57:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rHoCnRxv; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726625AbgFQG5O (ORCPT + 16 others); Wed, 17 Jun 2020 02:57:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726480AbgFQG5N (ORCPT ); Wed, 17 Jun 2020 02:57:13 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4177C061755 for ; Tue, 16 Jun 2020 23:57:13 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id d8so473556plo.12 for ; Tue, 16 Jun 2020 23:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6MPJxEon2gYUIC1eBRZV/RlBMiONJCU2XKZGULfkvGk=; b=rHoCnRxvnrmgaj4fRk0J1CrA8J4Mo5Qe2GvZDECUAIAb/dJ5HFpgTiXEDdaz10gbnh qQ5Z/gLuhIAntuE+LHvNr+x471YNOePTowZIu0TeSRchYXULqbz2sA5b1b1ZvTkx3LxA MLDVhWknz8CCuv3dGmXA3sDQxvSexvAoUOzI25yvjkwCjuAqrXQZS6sYEkpWMYdaZEhF FWVYgsh1DrdB4BFiGfFx30RBCtcSVvjX+WI97PvXpNS9hwvqluqucVvaYzOw8B4vmNVL OJdx3zFGeGqO/UcKH5YyzcG5Gxg39PsPPBFS79H+F9ARxraVkKLzakd2Xay2QDm4EvDe qK+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6MPJxEon2gYUIC1eBRZV/RlBMiONJCU2XKZGULfkvGk=; b=sS0W5ArKfYZJ9vJZg91d376TyqLXiuqhTnwR8XTxXwnZPCIXrwjHKylDbq9RFQX4nu 7ttY9n3MTd4PQM8RgXc7a0MiL9Su0BS4yL7i/rGeleZetFyQVCS7PP8QOdb65JA/3H5d XfosbvHGop0CREhJFADbXpEg8Q2uMIjVUJx9J7FuxwASLKmWpSMEXKQd7q/REhXtWg2q MbtaRvhFt4HQ9fDXAF4LYbDdFMovpmiVPZEXb9fKoNiSNPzqbHGpppZ6T2zRL7NT0d+P aE2rE3gtE9w4GnNNcyDMd6yaorQFyOu3xCk77V+4gAdkrIpo4mSH/DvGpnMsNowf++dN nfXg== X-Gm-Message-State: AOAM531tWEFEi1Iwf26Vx5zmtpOP2novvHKsMMz5hQUkxrkQ0rgO6fTS 66OiuBSloj1SfiH8LQ5aHT4uC7aUBMx8Hw== X-Received: by 2002:a17:90a:aa8f:: with SMTP id l15mr6837206pjq.211.1592377032700; Tue, 16 Jun 2020 23:57:12 -0700 (PDT) Received: from localhost.localdomain ([124.123.30.142]) by smtp.gmail.com with ESMTPSA id x1sm4467625pju.3.2020.06.16.23.57.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 23:57:11 -0700 (PDT) From: Naresh Kamboju To: linux-arm-msm@vger.kernel.org, inux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: sibis@codeaurora.org, vinod.koul@linaro.org, agross@kernel.org, ohad@wizery.com, bjorn.andersson@linaro.org, p.zabel@pengutronix.de, Naresh Kamboju Subject: [PATCH] remoteproc: qcom: q6v5-mss: Fix kfree build error Date: Wed, 17 Jun 2020 12:26:58 +0530 Message-Id: <20200617065658.27567-1-naresh.kamboju@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This patch adds linux/slab.h to fix build error in qcom_q6v5_mss.c Build error: ../drivers/remoteproc/qcom_q6v5_mss.c: In function ‘q6v5_mpss_init_image’: ../drivers/remoteproc/qcom_q6v5_mss.c:772:3: error: implicit declaration of function ‘kfree’; did you mean ‘vfree’? [-Werror=implicit-function-declaration] 772 | kfree(metadata); | ^~~~~ | vfree Signed-off-by: Naresh Kamboju --- drivers/remoteproc/qcom_q6v5_mss.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index feb70283b6a2..903b2bb97e12 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -26,6 +26,7 @@ #include #include #include +#include #include "remoteproc_internal.h" #include "qcom_common.h"