Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5179277ybi; Sat, 6 Jul 2019 23:43:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9jWnW8dyUyhd2gRhQ0UQjKVyMYayUJj7TbT0ivEp/Bsng3vJudLyoWoI3mNLsmiQF2x3n X-Received: by 2002:a63:101b:: with SMTP id f27mr14083453pgl.291.1562481811900; Sat, 06 Jul 2019 23:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562481811; cv=none; d=google.com; s=arc-20160816; b=RXdUhNtTf0ZayzKjZ2+wMhNAsX6NbP27IEkvOa9jBBuEf+WWodeJcpKaerRYXUONx+ loiCO52zFdxocSqanNVrWYda+G3VPNhwbTwjCCOTJg/ZO2ETjufskJsHy2E8zIEzZ0Qw V5LilFqPDd+9QMruQm80CHXCj9JZnBsVdMmsSG6nqnVE1SBSaclb6JkM0PtWu+puvFko 4N02O/KQcA3o1ALjNZthKtiHoY5QrdbTGsvWGj3FuuSXvOLgb1WIvnmi+GpKXtxnZBBF 9rhzG9rNvJgqyakbOZ6HF2VexX5Ngt6KB3gW9H+R10huWuOTkLVmGnLGA+i9We868NvM cQxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=LddZA2kZHpmw/iDNZuSU0U5CnFfMo3Z/xtH9eTXkW14=; b=UD91ZCMSEWLpQbjq6D6pfRsapgoqUhusJuEetfsBySomCKRPY6MTyzB1RXmAsu2iAE OXEYeAyM9U3phFsHEw7Hi9YKqNuEpKlzKwddJfqllKKVFB68BYV7yrbTSKKS/wtbbp84 YHduw6TFQutUh1LNnlYVNfjmKnZxByI9QfLKrH5jQD34ezqkdofuXsp/jmrvux9lLOxK Yk5UaTwrRCBcEXOGUEirdpHb7vOjt/t61VpnBiiOpGcxp0tSsDItMfNWUryMLS+z6HrR iQvp1lDhsAWrLAyfklRg/uP/Ru4LwJIPPhITUSEU64UkvVaHjg9Go87RsbJKV/HDBc00 VFSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=H7dXqGji; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d30si13365352pla.419.2019.07.06.23.42.49; Sat, 06 Jul 2019 23:43:31 -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=@nifty.com header.s=dec2015msa header.b=H7dXqGji; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726195AbfGGGmF (ORCPT + 99 others); Sun, 7 Jul 2019 02:42:05 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:43909 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725800AbfGGGmF (ORCPT ); Sun, 7 Jul 2019 02:42:05 -0400 Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) (authenticated) by conssluserg-02.nifty.com with ESMTP id x676fv60005211; Sun, 7 Jul 2019 15:41:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com x676fv60005211 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1562481718; bh=LddZA2kZHpmw/iDNZuSU0U5CnFfMo3Z/xtH9eTXkW14=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=H7dXqGjiqDI1P7iiUi7enEIEQQAiXFBp1yh27YuU+vgcvEz/VRdYIySA/t7dijNCb OIQOS0FWCzIO8RWwXZmWBDZbG80aUFGT/uNgRROCOOqJ2+4v4IAS9iWgDrpoSYEAPO q2OFUnrHQxM18EWPLSpY2iwXZg55RaeUwfphXJOxbTL3oXWUFQmtPszFUiaLiRmUwl 2irpIy4wLZtyqL30FYprTmetKus+9JCTYd6Cii7nANOzc8KAaPeVx8DAV2FN7RRxGp xBse/VhPEwtj8ZMm9JECttShg/SxnoUsisesA4gw0h9YU854Cczvq8emWEjBrXoXAp tSdtqSG//Nmjw== X-Nifty-SrcIP: [209.85.217.49] Received: by mail-vs1-f49.google.com with SMTP id h28so6247836vsl.12; Sat, 06 Jul 2019 23:41:57 -0700 (PDT) X-Gm-Message-State: APjAAAX221d+WmFSnJraJHuOg5Xoq6LwuLRSJtKzKC2ssbwzkXhSdn4O Fi7V8Sb9+B6LvhCs22at8VrXBqfu8aKIjq2R0+8= X-Received: by 2002:a67:fc45:: with SMTP id p5mr6637293vsq.179.1562481716656; Sat, 06 Jul 2019 23:41:56 -0700 (PDT) MIME-Version: 1.0 References: <20190605053006.14332-1-yamada.masahiro@socionext.com> <20190706203745.af0bf9bd5dd46e94fa5e1ff9@linux-foundation.org> In-Reply-To: From: Masahiro Yamada Date: Sun, 7 Jul 2019 15:41:20 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header To: Ryusuke Konishi Cc: Andrew Morton , linux-nilfs , Arnd Bergmann , Greg KH , Joe Perches , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Konishi-san, On Sun, Jul 7, 2019 at 3:11 PM Ryusuke Konishi wrote: > > Yamada-san, > > I'm sorry for not being able to follow. > > Could you tell me how did you find the build error? > Still I cannot reproduce the error in my environment. "You can compile UAPI headers in kernel-space" does not necessarily mean "you can compile them in user-space". To make sure UAPI headers can be included from libc etc. you must compile them after 'make headers_install', but people often miss to test that. To automate this testing, I will merge the following for 5.3-rc1: https://patchwork.kernel.org/patch/11024715/ Once it lands in upstream, all the new breakage will be caught by 0-day bot. Currently, nilfs2_ondisk.h is excluded from the test coverage since it is broken. Thanks. Masahiro Yamada > Or, if it's right that we should not use > cpu_to_le{16,32,64}/le{16,32,64}_to_cpu() in UAPI header files, > I will acknowledge the change and modify nilfs utilities to comply > with the guideline. > > Thanks, > Ryusuke Konishi > > 2019=E5=B9=B47=E6=9C=887=E6=97=A5(=E6=97=A5) 13:31 Masahiro Yamada : > > > > Hi Andrew, > > > > On Sun, Jul 7, 2019 at 12:38 PM Andrew Morton wrote: > > > > > > > > Seems fairly serious. I'm thinking this needs a cc:stable? > > > > > > Ah, yes. > > > > > > Cc: linux-stable # 4.9 > > Fixes: e63e88bc53ba ("nilfs2: move ioctl interface and disk layout to > > uapi separately") > > > > > > Thanks. > > > > -- > > Best Regards > > Masahiro Yamada --=20 Best Regards Masahiro Yamada