Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5899644imu; Mon, 26 Nov 2018 06:39:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/UUXn74lRrCTKHNgJ8wMoHR1IlugYeXJWqRFq1569AMFgZNuGh4TjNjWaNZa7dW5gHMByj4 X-Received: by 2002:a17:902:9a98:: with SMTP id w24mr5496666plp.213.1543243195467; Mon, 26 Nov 2018 06:39:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543243195; cv=none; d=google.com; s=arc-20160816; b=l/NapQY/b0B+R0rAoPlb8Di8YFQgSi8Fdfpw/8shI05/wScknYZ6yEd/IChjqB0pKR WtlO4c4fQSPcupLqwT1iSL4vQGu9Y4ufco0MLeAeRXjLSNoJFHtB1zqPrQXmIPcqVzlL TMMXBpmhk5S69pPQG5GQFsYxOes1Enbc0/Pco4z4xvoUeaiCB3wyaULEIYJeL/VMaFt/ VOgibN/4+A2ZayH5/ElaNUQ7WDAPgM/Jnzby/uO8usI/vok+LwwtszID7Bah14uWMThu uvlC6ZG8lFJEAoa+Sqq0mfc3Z1VAaXHxCwJDwmWSusGTcAgfwdgVJdtIisi8i4lAXda/ L5Xw== 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=rs4puKBd5l///9yokUopQT1mdSsSbluxkXSk8De5g9M=; b=i5lF1mNCVSiGcT8UMQB3QmCKQsf3DXaXQP31KYzKNlPQP/dAAfuaK+ZFwkRlDf3wba vtBonoCxUbBTUJaKlDZYC3Ofp6vNebOOok79vEkP+vyf5C3+EXLJqZPFRQjRUg2X5fgx P3Wtv+jiPjZA9OXhGv+8X1unbdWW7OumF706OjMW6xt7QFrUi6THSlZ0nXCUg2RKkRS0 EWgvxqCiadNK3bbvMMatVATWIZee1V2apvzwMRGuJmp5KvELP51SPwpYkpqRJqN+OOjr Qm6Xpl13QhG3B8lPVX216vU5l1U8pFSlDPtD7FimXaL9/T6kRCGuIfFG65/edQCnMSAr cC1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AmoPyepk; 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 u5si371601pgr.316.2018.11.26.06.39.30; Mon, 26 Nov 2018 06:39:55 -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=AmoPyepk; 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 S1726911AbeK0BaI (ORCPT + 99 others); Mon, 26 Nov 2018 20:30:08 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54473 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726249AbeK0BaH (ORCPT ); Mon, 26 Nov 2018 20:30:07 -0500 Received: by mail-wm1-f68.google.com with SMTP id z18so3790185wmc.4 for ; Mon, 26 Nov 2018 06:35:48 -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=rs4puKBd5l///9yokUopQT1mdSsSbluxkXSk8De5g9M=; b=AmoPyepkaumCiRAqOfZeyDzy0KA82cjg7zzdzmT+nSnwAAklahcE5BEeEw75yJugu7 mASmA8aEcZWAuFOXG1b5R0PdI7583FxX7BfDpISsd+FmsAeM3bgLFcOm+h6I1WUyv6Cs o4p6JKA2X2Qb36dWtozBrbLyQW9W4X96TExEI= 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=rs4puKBd5l///9yokUopQT1mdSsSbluxkXSk8De5g9M=; b=FPNQlJKyp786olMbDMnA/FA7oWNrzSTz7FghuVxDjnlWdw0djmAt7eBWY/I7Ar92vQ pSaqultqsLp8ae2fqczHEHun8vLKFvPZBKuo8Zxy4zDt3XolQEjsLvZd7izvl5asbG0c H5rgY3mGb8UyDqTY6FxZERda0vpS/7FDyXrQPw5iX+4gMC6i+J0tmGYpn9BBqie7hHyj FZFZhJYmZYail5CUxexDVQcHbUu6rJ3dDCjNOVYDwsPjVE8Iu9/ofEJaa67wjDgFBUvt dbrTqQBjfmUgQ7weZZ5JZTdYs34PGUO/kUxJ/64B7KkoTZKE5+KimWynIa0rtCRgjnWt Q14g== X-Gm-Message-State: AGRZ1gKoGPIrGLkWjfJSi+Pp3VPrwal80pJT2anM63rbaXvA/rbrJqV7 Fzu22PIGIl14kdW7S1wSFtKKrIaMIjD4S/D+SMDQ4g== X-Received: by 2002:a1c:3a07:: with SMTP id h7mr24590049wma.41.1543242947437; Mon, 26 Nov 2018 06:35:47 -0800 (PST) MIME-Version: 1.0 References: <20181029200311.16947-1-semen.protsenko@linaro.org> <20181030063408.GA26627@kroah.com> <20181030130401.3ab5gl4fsvpa2fes@cs.cmu.edu> In-Reply-To: From: Sam Protsenko Date: Mon, 26 Nov 2018 16:35:36 +0200 Message-ID: Subject: Re: [PATCH v2] codafs: Fix build using bare-metal toolchain To: Andy Shevchenko Cc: Greg Kroah-Hartman , linux-scsi@vger.kernel.org, Praneeth Bajjuri , Linux Kernel Mailing List , codalist@coda.cs.cmu.edu, coda@cs.cmu.edu, Jan Harkes 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 Andy, btw, I'm observing some strange mail thread behavior here. I'm pretty sure you responded to Jan, but he's not in the recipient list in your last mail. If you check Jan's mail (the one you responded to), you can notice new "reply-to" field (or "Mail-Followup-To:", in raw mail). When you respond to his mail, you respond to that list. But Jan is not in that list. That may be the cause of confusion we're seeing here. Anyway, mail settings aside, I'm glad this patch has found its way to upstream. Thanks everyone. On Fri, Nov 23, 2018 at 10:07 PM Andy Shevchenko wrote: > > On Tue, Oct 30, 2018 at 3:04 PM Jan Harkes wrote: > > > > On Tue, Oct 30, 2018 at 02:01:04PM +0200, Sam Protsenko wrote: > > > On Tue, Oct 30, 2018 at 8:34 AM, Greg KH wrote: > > > > On Mon, Oct 29, 2018 at 10:05:49PM +0200, Sam Protsenko wrote: > > > >> 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). > > > > > > > > Why are you asking me? I'm not the maintainer of this file :( > > > > > > > > confused, > > > > > > > > > > Sorry to bother you. I just thought you might be interested in this > > > one, as it fixes build for "allmodconfig" configuration, hence it can > > > be related to stable branch. Also, maintainers didn't respond to that > > > patch, so I'm kinda dead in the water. > > > > > > Anyway, will try to ping maintainers one more time. > > > > I thought I had responded, > > Oh, this one also was in Spam. > > > I didn't see a reason why one would want to > > compile non-userspace kernel headers outside of the context of the > > kernel and if you do have to do that why not just add -D__linux__. > > > > However, I can also see the point that anything not in uapi/ pretty much > > by definition will be compiled with __linux__ defined so it actually > > doesn't make a discernable difference to just drop the ifdef and I'm > > fine with a patch like this. > > > > These trivial patches typically get picked up through kernel janitors, > > or maybe an akpm linux-next patch queue. In fact, I'm not even sure if > > there is a designated person I would be passing updates to, I've sent > > patches to akpm, viro, hellwig, linus, and gregkh at various times. > > % scripts/get_maintainer.pl -f include/linux/coda.h > Jan Harkes (maintainer:CODA FILE SYSTEM) > coda@cs.cmu.edu (maintainer:CODA FILE SYSTEM) > codalist@coda.cs.cmu.edu (open list:CODA FILE SYSTEM) > linux-kernel@vger.kernel.org (open list) > > Aren't you a maintainer? > > -- > With Best Regards, > Andy Shevchenko