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: 140633 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1087262ljj; Fri, 29 Jun 2018 10:01:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf2ROUEVw3e+S/wziYLurwyenltf3cWyOg0uuzLpjKaUrQNLHzX+QzkN8FwshPi44Ejr6hL X-Received: by 2002:aa7:8298:: with SMTP id s24-v6mr15236837pfm.136.1530291687562; Fri, 29 Jun 2018 10:01:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530291687; cv=none; d=google.com; s=arc-20160816; b=KaaHcx4+qC4xBg5OOhKtTZ3sQDQQcJUAlxN6FMVEvFLCTz0Mr4mZnbk2cmzJtiuY6B nLKmrk4H3bSmj9A0iAU5PcoSeumwFppKmv5uNEhgSxd+OmdotP5zGpTNeGS67ZfBjJ0f neGaH1mDGJoAn4WRw1FW062jvXlBDbVyC8ZJ1rpsGBITUINRySo8T+LYov3wITxhxLio BCfA0A7AZ0dvLthcm8B199QcoXp7fro1Chz9ZjhJdBt5ce5b7fSnxRElMYxr4Sr4+0QB q6gqcovdAGltwzXn55ncAGQPOMNtwATZaP3GVpGcuuLre4QUpcOxqkVrHhSaJsxJUQ/D COnw== 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 :arc-authentication-results; bh=BuRAUWq7O2zLXqV2NWRnZ70tza/xOBEVCO/2+vpJ/MI=; b=S/fZFFeB0TUMdOaQenUbSScYawqpApiNc4Ami+D4I8Dys1vYajqV05SUPgbSvGlIxR neR11A1oRkGd5MptWd2BuwRmmszXtwgmR2BbfG9DrLMxxy6tcrUrWCL5pd7aLeUV6a6f 5jN8t5ZGWwKsmgB98AMX1XxdV37wpk+JfgMHyhwqzJpcE2PigA7uvn0Yi3S+zXnPTHP7 lnIGwU1fh6jVOPmM9sCrJV2G/ZSVu01MSP4AwbLv9iTidb78R2YQvBKV7ZedPafpG+aj WTXQcZLBkwA9TZXQ9a2IAD7D/VN2s62mtG7xcD58wSIy1vxvEbpoOKDNAwoAC8qbdzFQ Xu+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="bmGS9G/J"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id c13-v6si8231405pga.413.2018.06.29.10.01.26; Fri, 29 Jun 2018 10:01:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="bmGS9G/J"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S936751AbeF2RBX (ORCPT + 31 others); Fri, 29 Jun 2018 13:01:23 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:41906 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753436AbeF2RBV (ORCPT ); Fri, 29 Jun 2018 13:01:21 -0400 Received: by mail-lj1-f195.google.com with SMTP id a17-v6so4723913ljd.8 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=QnDmV2KX6VXeEjZEYJTaUnrEtI5UwgSfUFfzo5V9WTUWPRHQljGMy+7sNWfGrt/1H2 tUeUsp52D2UraDeACaIMcnFL6RHK49tKJSySc9wy/HBrdU8AwsmatqlRjS8LQQOj7DiC PrZ96FQCTIL5+pRUd8rCV2mWIRTBfXvaGi1fBCzuwhkTN7ntcQCkwqiX1CepFLANJCY7 EXbvhyd1WjGf+LAr4ac6xSuiPFm50r5Grc6UrJt+fgkU6kgCnbtavGHLWoc4bXnsiAzo xgzCmATDPi0iYB3fLYDs3JP6WgQkjolaBJKO9Jik/Jm2W/BpYekLf8h8Ktxm3wiZclhM xTjw== X-Gm-Message-State: APt69E1mbTa25ZmiVNhH/yhQpoVdm5apQs8NM3PQC3GZ1UYLkE6rwI9i AlDj/fcSKWiITastdmTlkxe35g== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.17.1 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