Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3834039imd; Mon, 29 Oct 2018 13:08:12 -0700 (PDT) X-Google-Smtp-Source: AJdET5dUp/bFgIrY7TXeqstPHys9GCNPhSqCGBaLwAbWEecmXnwkeoBq+Ubz6TdE3P3CrT06Z4H6 X-Received: by 2002:a17:902:2d81:: with SMTP id p1-v6mr15219672plb.97.1540843692375; Mon, 29 Oct 2018 13:08:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540843692; cv=none; d=google.com; s=arc-20160816; b=JGI8RxMpW1evop0czZ3Ym7wd8Ju6tMp0o93DWxt7G82x1+qlzQoJ0n8uzYZHTezwmk v45qjHrv4eICt0vTahstI+o0r2bOsWTkdEDThSTOHoCchBGeYVUDndqoJrB8usl4MBfn V70r997lJUVn8gl7oSQNw1rwMolbggb6TyCcLFiPZL8wHMNw2kcvw9rRYNsX6zB8LwKZ mnd98TF1OHeYZTHheVEBz9f1IGRD29jSgmrcdFGfeMy2omnav9QIiI1roAusF9NHekZK j85nNGFkhVLLXr8tYhGmWj/SC5XIxs6lVN8XOak86mVkfdNroHqyo47PgH8J3LpuFqyH Vzaw== 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 :references:in-reply-to:mime-version:dkim-signature; bh=Mtor5hUQOZM2V9SZFC7nPGmJ2W1+7l80r8HlWEPyAt8=; b=JnMeh3176z6zb3mOJcL9lrMf95rvbfzrJDsP+4gSADtnNNf1tTT5lFvCA4AomxwobX fm0+YHmxiUgjEtYyCNGlWt9lJItPfgFLY+RuAmoSXJRCE4je16wQH43cG9stzTtghukY mq5T/4sTOAUZ434JmITUBP8jmiEgmhmChPq2nll4m/fLb+QeQMqrzZMBGeUe8KboZhvR OLmSy8lau3+NQYRKVpZVB5clUPRWIDJEP9sukR7eY0+JMFljZCj9XnChNIlvWcvVthtP ikkTi/TQRdy+DAznwVO26GJDwDdHkLVumvvkrM8M5D/mzgabHvfYUO3LnJjmIc2lm/Sh TaVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aPX6WLY+; 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 w11-v6si21156795pgf.587.2018.10.29.13.07.56; Mon, 29 Oct 2018 13:08:12 -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=aPX6WLY+; 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 S1729599AbeJ3E4D (ORCPT + 99 others); Tue, 30 Oct 2018 00:56:03 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45571 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726196AbeJ3E4D (ORCPT ); Tue, 30 Oct 2018 00:56:03 -0400 Received: by mail-wr1-f67.google.com with SMTP id n5-v6so10057918wrw.12 for ; Mon, 29 Oct 2018 13:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Mtor5hUQOZM2V9SZFC7nPGmJ2W1+7l80r8HlWEPyAt8=; b=aPX6WLY+DRXj1q4f1O4X1uBWaxNKxWDxCbBWbC98VfoAqLlb/hCTOPz3bhz21hy1Yh ghcpZWoFBjM9RVBZIKLNYm6aXsemZEunmBBNdGaOniU12ZNMqEBZFV6D4XSMMcxQ0oal /nUhZH58VefvPzBK4dlu7YRwY9t3XuplnHni0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Mtor5hUQOZM2V9SZFC7nPGmJ2W1+7l80r8HlWEPyAt8=; b=Wr8Xs7F6R3kaBJr6KP9XohRL4tpqEd3tcfYD73D+ZURO/orF7R6OFKxaVLu3M99DVw vw+Ux5C7QnVW1wdRLz0M7w1rtqF0ZAEwYvL6C9TSmJVYD5SG8yCdBFdT/qRKGgOhAJdP LiV6RVE4/hL1m9Y17v5feu1+qRa3/HiOmFuWoWOqWPjNv/ERNUVLzmOU5OWbW3YK635Z LhRGkJJee5ztQ5aysuAMgwbHkzun/rT08LDeKC0dt44Lv/JvJSyAwJZ4m9BzPxfzA0Q2 XyEBKdTX0Ls0kC6bu/NRGVBE4+Ieztf8SsMr6NIhs9V1b6KTaMUQrFLVvkUmzs2YlUn1 HPhw== X-Gm-Message-State: AGRZ1gIuWTnPMfgZRWr6jL6h6tUVFgYc2G/7W5G0IXxtKnmLSVNLdQbN 7NTBLUL2Jxykm31/K9j35Rt5fG3RetakxOKCASiv4g== X-Received: by 2002:adf:b245:: with SMTP id y5-v6mr15000255wra.90.1540843550027; Mon, 29 Oct 2018 13:05:50 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:9f47:0:0:0:0:0 with HTTP; Mon, 29 Oct 2018 13:05:49 -0700 (PDT) In-Reply-To: <20181029200311.16947-1-semen.protsenko@linaro.org> References: <20181029200311.16947-1-semen.protsenko@linaro.org> From: Sam Protsenko Date: Mon, 29 Oct 2018 22:05:49 +0200 Message-ID: Subject: Re: [PATCH v2] codafs: Fix build using bare-metal toolchain To: Greg KH Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, codalist@coda.cs.cmu.edu, coda@cs.cmu.edu, Andy Shevchenko , Praneeth Bajjuri 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 Hi Greg, On Mon, Oct 29, 2018 at 10:03 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. > > Signed-off-by: Sam Protsenko > --- Can you please pull this one, if this applicable? I sent it a while ago, but I guess it got lost in mailing list. It might be also applicable to stable branch (as it fixes allmodconfig build for ARM with bare-metal toolchain). Thanks! > 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 >