From patchwork Mon Aug 27 11:35:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10577025 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B982A5A4 for ; Mon, 27 Aug 2018 11:36:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A874329782 for ; Mon, 27 Aug 2018 11:36:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B60B29899; Mon, 27 Aug 2018 11:36:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 468B929782 for ; Mon, 27 Aug 2018 11:36:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727331AbeH0PWt (ORCPT ); Mon, 27 Aug 2018 11:22:49 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:42216 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727158AbeH0PWs (ORCPT ); Mon, 27 Aug 2018 11:22:48 -0400 Received: by mail-lj1-f195.google.com with SMTP id f1-v6so12042018ljc.9 for ; Mon, 27 Aug 2018 04:36:29 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=h90+3ReY06e+iLNerRK9K1XsVHAVsoADC481ssK4+Co=; b=j8rNU01ujl9hYtNsMEWK2gbZLyGFHvptyc6PL4QfD3czbdEMF47Cvdo7LPrQqvSKCN BKSIB07fazZGV1Br2UryhZ7aTanKARHIy4lWDT/p4ex8GBa/0zixsa2LQE2Ea2KUQQuW X6qGs+uiTaMVo7+i+c6S+4fnSD0v94fWF3oo8= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=h90+3ReY06e+iLNerRK9K1XsVHAVsoADC481ssK4+Co=; b=gTdApwaoj/n2kOWSRMQTcNFMHp2RixrwxgwbProq9m6S2b6TG4yYzHxBVzX4WK9Eps QxSHaVPVW9mNWLeQZnQUoKzSAWh+DtDGFext6HT8FShKaB/NLbAakXiytOqzZfT5oIpJ FZGd1O9Klsetk+13D+s5Oq53R9MpaNnABLxxJVekKvVWTh35TH+ddoup3JEnTzplPi2Q OfvTyS/R/CI5ePW3oTzkVnppWw13XS6B+tAHsxWDgf9RVR9SkYpV6k0D18gFSDU3meJ2 qmBzyMws5G4PTvdw9O4DgyvJOOlY9LN/yL0ty8CVUR/ffyTcY4l2RtuklFq2H0r2tDoW 5vtQ== X-Gm-Message-State: APzg51BIBvJsT+8N2u5NIb9cqawaNfcj64GPDnLjZLq2P7RV+toGfef9 BtZfV+q4pR3HTd1TC+9U9a6gsg== X-Google-Smtp-Source: ANB0VdZo4wKJcipB23hvnpu9zjqRshfW+LUEaQCUpjtUL80B+uDc2z69nsKbRNDNc41ZV++xbYr9Rg== X-Received: by 2002:a2e:650e:: with SMTP id z14-v6mr7958371ljb.62.1535369788605; Mon, 27 Aug 2018 04:36:28 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id z15-v6sm2737503lji.58.2018.08.27.04.36.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:36:28 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 1/6] soc: qcom: smem: Add missing include of sizes.h Date: Mon, 27 Aug 2018 13:35:59 +0200 Message-Id: <20180827113605.9594-2-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-1-niklas.cassel@linaro.org> 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 X-Virus-Scanned: ClamAV using ClamSMTP Add missing include of sizes.h. drivers/soc/qcom/smem.c: In function ‘qcom_smem_get_ptable’: drivers/soc/qcom/smem.c:666:64: error: ‘SZ_4K’ undeclared ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; ^~~~~ Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- drivers/soc/qcom/smem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c index bf4bd71ab53f..b77573eed596 100644 --- a/drivers/soc/qcom/smem.c +++ b/drivers/soc/qcom/smem.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include