From patchwork Wed Jun 13 12:53:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10462187 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 BD3B260234 for ; Wed, 13 Jun 2018 12:57:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEFE7289BE for ; Wed, 13 Jun 2018 12:57:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A3060289DA; Wed, 13 Jun 2018 12:57:17 +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 510FE289BE for ; Wed, 13 Jun 2018 12:57:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935274AbeFMM5R (ORCPT ); Wed, 13 Jun 2018 08:57:17 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:35368 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935364AbeFMMzE (ORCPT ); Wed, 13 Jun 2018 08:55:04 -0400 Received: by mail-lf0-f68.google.com with SMTP id i15-v6so3786903lfc.2 for ; Wed, 13 Jun 2018 05:55:04 -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=BuRAUWq7O2zLXqV2NWRnZ70tza/xOBEVCO/2+vpJ/MI=; b=M9K5ymwFZ4t5t0FhfE5HWzsMG4CykQzXsi0AnfQ9zk6+VcUx/1T8mI8nY9kbMeS9nf WbFj85E60zTgYGLvdR2QakSEiaoXneOBFze7Gx8v3r4V3vFoW8WRiFa9Qf/IcS/QScjO I1vWcJBAgLDhlvA/3kqK6y7wi0eQ+OIBTkhJQ= 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=BuRAUWq7O2zLXqV2NWRnZ70tza/xOBEVCO/2+vpJ/MI=; b=PkGPRlBT+93sY7nIxyu8Wcoo9LasmtnZY0TV3YLoixLQBahDj458c1LnGBlmpknsQr uqR56AxIxiDj6W/A/5hDVhDbM4W2hy+Lyvd46F2G4542Tiag5TF2QnAJaSHrLgUUWf+E zPh8RW6z2aouR2spFiitw7mu5ks310RDdgR2mz2JLdMisiCHIXSdPeLSWal/aMN8qfil f7yZx5TC1ZUkrGUZ3rrt++iieLHLCj18ZZDeEZ2obNR9wnt+vwFdwHajQEkb9ZM4ddFl FR/FoQGIABLV+/50fOTHLaOO5hn9SjrRLtkKIkxNww6KzGjHpjvQDsyABRdHdfIByFkn Yxng== X-Gm-Message-State: APt69E0LnDzE3lnE6ycarKJqcsmkUv51wGOEge8cpuDPb76+mlzlOV6R eoAuf67zi3+VOemCedZTkKHHTRU4Bkc= X-Google-Smtp-Source: ADUXVKITePm0mn7rd5oLQQSX844/ciDsUqxdE3rjR0xjNv8g3v7/Z9F24y/9YJmaXmitdlW42AldpA== X-Received: by 2002:a2e:9dd0:: with SMTP id x16-v6mr3048006ljj.142.1528894503621; Wed, 13 Jun 2018 05:55:03 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id o9-v6sm580840lfk.2.2018.06.13.05.55.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 05:55:03 -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 1/5] rpmsg: smd: Add missing include of sizes.h Date: Wed, 13 Jun 2018 14:53:56 +0200 Message-Id: <20180613125401.11734-2-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180613125401.11734-1-niklas.cassel@linaro.org> References: <20180613125401.11734-1-niklas.cassel@linaro.org> 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