Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3239603imu; Sat, 24 Nov 2018 00:50:43 -0800 (PST) X-Google-Smtp-Source: AJdET5dvyDd/sxQVuRa4ZRxefWaHduyfp3u5cfggUVxlfwUzecYn9ktopFYNbbs80DUGCtJZNtMe X-Received: by 2002:a62:5e46:: with SMTP id s67-v6mr20053800pfb.122.1543049443030; Sat, 24 Nov 2018 00:50:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543049443; cv=none; d=google.com; s=arc-20160816; b=UKbBDZtk5yHF86YoUjyB3uCIP2WartNu6L5qYG8V7prItd98gjhgXNbZ65U1mt7J3N uK/YZgBHWDpCKvGAwQTa37xwEpy2aYJEH8bcJRScCLhAMAyDjjkcOnTd41JPtLj58ipJ KkDW7pcOcMhDa1y5yYY3Scr5HWokZvtnZ1Fs/7MYg8VCyi5ncc08JJFDqToyD+mrdU02 kcsFZBf3hp2tolvHHwNpzuq0fPA45WPwnnFSs9MnaUYA1cQyX5i1tQGsaEawsidBp8A6 tMxJFYIa0zhlEdas8Xk6nUc9x08xxyHhjfXLlSx46rVMjw5ojMlsBMSyrNnrDZbgdzPd bcng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=19tzt73gyv+9yHhyNMOrMd4Cr9f9+QqN3Gx1YgZ+EoM=; b=ChwjE/sH4l0+8ygDoQnwVO61AXEB+ZMfbl/pHUbkdGI1vOP1f4E+gJZ8RO02xYNn8j EDWInGxz2mgM36Zd3S/H8zccSH4AtP0EQ3oJuW2VliBCZM/WWBdIMg+XY0AtktU7Md1z C+2QyMmAMcuXVLJpNjj9KLms/PG1T2134w/dApHC/4PDlm/kyciebkud0HIL/4A7sPau FQ8iyM6X+8a3EQv/3K8/3wc7THIpVK4iCuhaoiQt6WU8ntxvDJjetBwL1Hb/qAUZFwch aSxpY3zS6WLAe4lBCadZMLDudkHtw7EG2J5MzEi/TnU3f1sHxwExNBDV5yato82bOajJ kMlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kdv6HpGa; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si54764422pgq.275.2018.11.24.00.50.28; Sat, 24 Nov 2018 00:50:42 -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=@gmail.com header.s=20161025 header.b=kdv6HpGa; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392022AbeKXGxe (ORCPT + 99 others); Sat, 24 Nov 2018 01:53:34 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:41604 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbeKXGxe (ORCPT ); Sat, 24 Nov 2018 01:53:34 -0500 Received: by mail-qt1-f195.google.com with SMTP id d18so11596817qto.8; Fri, 23 Nov 2018 12:07:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=19tzt73gyv+9yHhyNMOrMd4Cr9f9+QqN3Gx1YgZ+EoM=; b=kdv6HpGaPSytPaevKrCeMoi71rb4TFMkedVcVriNl6e9eOq3QnzCSJ1QuwTZWAA3ns eqTw3trDa0dl7143nPNlnTSHC3SJUfccqXffHy6ADGUwiYGi1I6RENqCVS1FeSFUE9OE 70yY7N48iUJwzTFxfBFshSYtZ2zfsFBeyP/zZdh7HCVWW0S5Kpw/8rI0+56Y2z+yAs7S SuDXPQm1OUIfjMjyAxQ3U+2Mkh2LpYmFB5VWWlaxCT3aly+YrGjBg9LGFzHv5XbBp3C0 wgMY++aWXJU02TAapq6JQJ4g5JOwijJgGw3QQLg2Ne7RxJxHSG3dzgNO0iVVPUmjCfRm /lDw== 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; bh=19tzt73gyv+9yHhyNMOrMd4Cr9f9+QqN3Gx1YgZ+EoM=; b=FI+gDR0Gi9Y+e6KahMuqICUeXLSa04StUE2i7Sth2xLghxjeYh8ZxwK/PFJw0qrWKv oqzsCvsipNN1R4phhsCfddqk86uM11kVGeQGCSgiO4nVJjALtDjazWA1FR6bS1slzq+D LnOuR/X0mVPgnhFULBJTVaVW7b7eFeiDMy4Hj2jJmG/GJmUn5qGCEG9kMpbqUCoNqFht amQVb5UC2Xq1MFswZHVLVt3E4SQL21SU0TBAcfvIUvM4lvQkYxa3SA3xi0uZqVDab7ew dm1BQNlyPKw2Unon8q1NuPK6N6AZLWMnE0c7B3X7hi87u8Z4jMosPrijrQLYNN9npNWT ADZA== X-Gm-Message-State: AGRZ1gJXqHIkCEQxjvqtUDTdVR7ScXhU+6tDaT0hyzxh/YYiBMBoB17+ o1VWPq6ZIkDGNn4jOXlHsV3aVjfqSauPKRfWALk= X-Received: by 2002:aed:2d26:: with SMTP id h35mr16147509qtd.373.1543003670809; Fri, 23 Nov 2018 12:07:50 -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: <20181030130401.3ab5gl4fsvpa2fes@cs.cmu.edu> From: Andy Shevchenko Date: Fri, 23 Nov 2018 22:07:39 +0200 Message-ID: Subject: Re: [PATCH v2] codafs: Fix build using bare-metal toolchain To: Sam Protsenko , Greg Kroah-Hartman , linux-scsi , Praneeth Bajjuri , Linux Kernel Mailing List , codalist@coda.cs.cmu.edu, coda@cs.cmu.edu 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 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