From patchwork Fri Jun 29 17:01:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10497097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B8B8760325 for ; Fri, 29 Jun 2018 17:01:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0A5029792 for ; Fri, 29 Jun 2018 17:01:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 949C82979E; Fri, 29 Jun 2018 17:01:23 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 4566F29792 for ; Fri, 29 Jun 2018 17:01:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753828AbeF2RBW (ORCPT ); Fri, 29 Jun 2018 13:01:22 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:37710 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753260AbeF2RBV (ORCPT ); Fri, 29 Jun 2018 13:01:21 -0400 Received: by mail-lj1-f194.google.com with SMTP id c11-v6so7834517lja.4 for ; Fri, 29 Jun 2018 10:01:21 -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=BuRAUWq7O2zLXqV2NWRnZ70tza/xOBEVCO/2+vpJ/MI=; b=bmGS9G/Jvsl2uNuDdfDhoxztt7r1nF4bNn6hQhQRevjFXLetiGEp9hkioSbLhE+c0c tC3bruycUJh7qLlM4vduVQWTvHyAbSW/pRqx72SxUB5ThE+1PP+QGQnY9wIAMO/X42yj B1G4KLYyzlYZmoYJ6QO/8hTOFD4GKUqgu1TPg= 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=BuRAUWq7O2zLXqV2NWRnZ70tza/xOBEVCO/2+vpJ/MI=; b=mGdRLvIuwcIjrphSXes84R8xoYI2Gm3mIn46x35H0YSBTNxWNv63Mf0AWBUpvc75ZZ 1tOH/+fSd9sjYlGbO56/LvcUDX3dZEpzN/1rHxcV2HVzOD+adNHQ8/dwR5/pwlFrhQPr Yw8lTdm90wAM3hNU8OwH0CekgHWRfdmSilGUszWVOtns1NQD0rk6SRt48BnES2H9L9OS LL60FzuokTBn127GTtfux0gPzBvCV7dLUdPdAJg7QOiHbWKu8/Uixc7+ohYimipQGX5W gC68XSuPV8hxhgf4Z2UBmJClgE1d8wBDBjYnw/JnQamQlZAChn9l1ekqb+Hw5owDkGkZ XvhQ== X-Gm-Message-State: APt69E1LBK2qFTyrt1ZUwVTXp1Ai509NDQsmSzfTvRuh5NRV2V4yu/8u BmlzALCDdDkWyd2ALnl/fywOrQ== X-Google-Smtp-Source: AAOMgpfal2OUXc58BYvG9PZ2qE2gsmUM2AcQ8cXyuodNP7vJy9SgvpcBGFLVC4V+zVe0kZdLwD9B+w== X-Received: by 2002:a2e:85d5:: with SMTP id h21-v6mr3429958ljj.103.1530291680328; Fri, 29 Jun 2018 10:01:20 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id f38-v6sm1597066lji.87.2018.06.29.10.01.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Jun 2018 10:01:19 -0700 (PDT) From: Niklas Cassel To: Ohad Ben-Cohen , Bjorn Andersson Cc: Niklas Cassel , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] rpmsg: smd: Add missing include of sizes.h Date: Fri, 29 Jun 2018 19:01:01 +0200 Message-Id: <20180629170101.16255-1-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing include of sizes.h. drivers/rpmsg/qcom_smd.c: In function ‘qcom_smd_channel_open’: drivers/rpmsg/qcom_smd.c:809:36: error: ‘SZ_4K’ undeclared (first use in this function) bb_size = min(channel->fifo_size, SZ_4K); ^~~~~ Signed-off-by: Niklas Cassel --- drivers/rpmsg/qcom_smd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c index 6437bbeebc91..8695cb041c31 100644 --- a/drivers/rpmsg/qcom_smd.c +++ b/drivers/rpmsg/qcom_smd.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include