Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2372841imu; Wed, 21 Nov 2018 10:34:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/VaSSb65COc4EbsYFdqo3WOIBXP8QrP10rD8rr4QmtRhYWx1ZQj/oWnUNA7M+kbuNiEQfS7 X-Received: by 2002:a63:f959:: with SMTP id q25mr7066583pgk.315.1542825257970; Wed, 21 Nov 2018 10:34:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542825257; cv=none; d=google.com; s=arc-20160816; b=doKlSz4e1b+N5BXEgBFRcMl78kzxcNkPlo6roe+iWjaXqCcm9WHP2SZrrLGiQMQHYH MsZZoT+qe0S9nxWY1OPjJdR2lQYv2tH26Jk6ci8jdPpcXlzkx7nKrZaLw82k8GqlwpKA 6pHolYyv0HgIi6vIS0JBo+nquwFUfqmTJQ7TgkrFARKz/52lQh8ThEFQQzK3PAKFSfPT zL3AxrSunJ79d4KDHGBIaPQflVaNJeN7LZBuLafsGtP0rfl/TfdkL5dgHvsbPxfM5Vfa cqAzrMXXAm3YgPqW3eHxZ2NFuQKG0XvwQx8OTniHIVhxP6aykLMGS/YB54Mqwet8ZQZd 2ctA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=tbWi/zS4gRmhuS+TuLe+neCy6A744+6S6a8Gx5sFG3g=; b=rKSxBVuVf/6/cE2f6YGDXT03HZ6YTHsIQnUwC2e6h89Vn3k/6f+xMGs//dzy9EaMP/ uGVFgE+fU+CfY7PfgzHTX63Re7yd7cR4e+qHvAmb09tdKO5AOOFkAirN5bDDGxPYBphv YdqHFM4gQQqO5tyHQV19xeBa4wFV6Majh45dJ1yvsypiPKTKyKtsohmED2tfmIWt5DpC uBBD+aeiS7zKYorv6xrq00JdxJCi7+PM4JffGhc96gwYc3aaRI56xUOg8NIMsPIPQoGl LTsA8uoXPTr/jjk1tzXM5eD066lVtvVnG4fDzxqYMYu8cs7xRD5kWFi0c70L0vt0trul xjPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FVFU6g5A; 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 32-v6si721755plh.96.2018.11.21.10.34.02; Wed, 21 Nov 2018 10:34:17 -0800 (PST) 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=FVFU6g5A; 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 S1731761AbeKVDHJ (ORCPT + 99 others); Wed, 21 Nov 2018 22:07:09 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:45436 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730523AbeKVDHJ (ORCPT ); Wed, 21 Nov 2018 22:07:09 -0500 Received: by mail-wr1-f65.google.com with SMTP id v6so6340404wrr.12 for ; Wed, 21 Nov 2018 08:32:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tbWi/zS4gRmhuS+TuLe+neCy6A744+6S6a8Gx5sFG3g=; b=FVFU6g5Aoh8HYnzfpw1W3f8QLbUrlpNaO/KXEcv7t7Ba/wpC7DX5eb+cPT0C9ftdb6 AsN4aouy9A+/m6e01hWODpOa6VnuGuhtozTZU8i+7odbMVR10j/nq1k4C4u+GkhoZMnj 6phDwSkfAI9JzEIQSwu6Ivm+nL7dKWdVSGdXM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tbWi/zS4gRmhuS+TuLe+neCy6A744+6S6a8Gx5sFG3g=; b=nk3ehEaJpkqZahphrb6GY96XLB1mgk3yUb/XiQGAihqDt3JgCpqXkxyIDxYvgM4pq2 LQQHfJhlMapIbMB8jSzS6q5c+VPjFUmcFpT4jceXaIWtXVlhT1974VGHF0wshM1reEMA zqm3SmtPZ1qUQZga9yhWHmnCQ7pkV2rI4lhIeNEVYk0Z+e9E/aefInGj1WxlQKYRwn5I i0Qwq3mJd0I7AJxd0yg+ferI6dn8iej03C+dh9RwxiGD7b2AnD4a5aUrXFviYY9x49dP Y/3ih3E1/r9+5/mbZMNX+LcXh2gBxY7DkLAxsoOPGxSraWi933jD2uXsoub2AwIFSlRU 0HYw== X-Gm-Message-State: AA+aEWaOJMD9LeRyix79PmFJuct/puV18xHLsY1ETRuIT2i7Y6WoHZAk BJ9tOwwT/B6PY40+XMFqXpzi1fVfV/b/lUsHlXLfIA== X-Received: by 2002:a5d:43d0:: with SMTP id v16mr6889067wrr.67.1542817919353; Wed, 21 Nov 2018 08:31:59 -0800 (PST) MIME-Version: 1.0 References: <20181030202713.26203-1-semen.protsenko@linaro.org> In-Reply-To: <20181030202713.26203-1-semen.protsenko@linaro.org> From: Sam Protsenko Date: Wed, 21 Nov 2018 18:31:47 +0200 Message-ID: Subject: Re: [PATCH v2] codafs: Fix build using bare-metal toolchain To: Andrew Morton , kernel-janitors@vger.kernel.org, Jan Harkes Cc: Linux Kernel Mailing List , linux-scsi@vger.kernel.org, codalist@coda.cs.cmu.edu, coda@cs.cmu.edu, Andy Shevchenko , Praneeth Bajjuri , Ruslan Bilovol Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 30, 2018 at 10:27 PM Sam Protsenko wrote: > > The kernel is self-contained project and can be built with bare-metal > toolchain. But bare-metal toolchain doesn't define __linux__. Because of > this u_quad_t type is not defined when using bare-metal toolchain and > codafs build fails. This patch fixes it by defining u_quad_t type > unconditionally. > > Cc: Jan Harkes > Cc: Christoph Hellwig > Cc: Andy Shevchenko > Signed-off-by: Sam Protsenko > --- > include/linux/coda.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/include/linux/coda.h b/include/linux/coda.h > index d30209b9cef8..0ca0c83fdb1c 100644 > --- a/include/linux/coda.h > +++ b/include/linux/coda.h > @@ -58,8 +58,7 @@ Mellon the rights to redistribute these changes without encumbrance. > #ifndef _CODA_HEADER_ > #define _CODA_HEADER_ > > -#if defined(__linux__) > typedef unsigned long long u_quad_t; > -#endif > + > #include > #endif > -- > 2.19.1 > + Jan Harkes, + Ruslan Bilovol Hi Jan, Can you please apply this? Nobody seems to be interested in taking this patch, so I'm not sure how to proceed further. Please advice. Thanks!