From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1540EC432BE for ; Mon, 30 Aug 2021 16:07:04 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6CDE96103D for ; Mon, 30 Aug 2021 16:07:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6CDE96103D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GywF20Ny7z2yKJ for ; Tue, 31 Aug 2021 02:07:02 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=QYYvjcEq; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=konsulko.com (client-ip=2607:f8b0:4864:20::f2d; helo=mail-qv1-xf2d.google.com; envelope-from=trini@konsulko.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=QYYvjcEq; dkim-atps=neutral Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4GywDv1TYtz2xfG for ; Tue, 31 Aug 2021 02:06:53 +1000 (AEST) Received: by mail-qv1-xf2d.google.com with SMTP id p17so4242504qvo.8 for ; Mon, 30 Aug 2021 09:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CVTWXp7s9BBHihml8SBO596Xipd7Bk4i6qQnKWIOlgU=; b=QYYvjcEqkz3Rn2K12Odly/izAiQeqelGqAzuPMrciNO0YS1WTAn59fswvyXryUf8Ow tAFiWDWmidIivA93KrboxDdI4ApgxsYsq0xjVp1x6f3wfSZwIZ5MiHEuuEL/GLbN6dTi 8ww5PMfgQv8bm/wU7fcQ4e1p8VjLd6d8atA8w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CVTWXp7s9BBHihml8SBO596Xipd7Bk4i6qQnKWIOlgU=; b=JaYj9YMmiSh7cLN4Z2kIwLp7fevgKEWcBeyGsMz+MzDT6WZCvnkq86mf4/wDEcf6Rs QboZ22k+Ae1V+g6+CeKd/j95Olstok7b8dTlJdofTWdc7VBnNwSVDr4+SMFXhC/kEUe0 wwFT79SMbyAg7kqAZV9EnfLFaHNkNZGR3rAf9h+IPnUaCy7KPqRCYXAC+slkuaKZu8XB D0u88ckaq6yT5XmevfedrZy8/y+vvQIEgRch7eIHdvLFJX5/lJKgL5DdXI7K5gSTv+7+ C48IcAOyE0ev6NkgCoxsWA3oJDcMyENCROe3hlVc5xR6H59ew5RZRv4ZoEQkDb7JR3KD 3wMQ== X-Gm-Message-State: AOAM531ED4Eik7vjfQmOiEP4ZR6FLniEhWN9OWHlCLzYiEiwpI0k0Uvt i4yd4NHnMAZ7dl/XeFKxXPewDw== X-Google-Smtp-Source: ABdhPJzIXagLMUi1hQ5pkdHu3gqpjipgEhH0AW2n1rmdLkyY0+77VsOPXLod3qiNz0272ZU6YBVHLA== X-Received: by 2002:a0c:8525:: with SMTP id n34mr24119861qva.19.1630339609595; Mon, 30 Aug 2021 09:06:49 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-8d75-4e9a-efec-7167.res6.spectrum.com. [2603:6081:7b01:cbda:8d75:4e9a:efec:7167]) by smtp.gmail.com with ESMTPSA id 19sm11272843qkf.127.2021.08.30.09.06.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Aug 2021 09:06:48 -0700 (PDT) Date: Mon, 30 Aug 2021 12:06:46 -0400 From: Tom Rini To: Huang Jianan Subject: Re: [PATCH v2 1/3] fs/erofs: add erofs filesystem support Message-ID: <20210830160646.GY858@bill-the-cat> References: <20210822154843.10971-1-jnhuang95@gmail.com> <20210823123646.9765-1-jnhuang95@gmail.com> <20210823123646.9765-2-jnhuang95@gmail.com> <20210825223947.GD858@bill-the-cat> <177141f0-ebbd-017e-ab63-9445b3f53ac1@gmail.com> <35ce7ab3-a21c-0401-c677-eb2140ea908d@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8znHms9eZMkWe5DE" Content-Disposition: inline In-Reply-To: <35ce7ab3-a21c-0401-c677-eb2140ea908d@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: u-boot@lists.denx.de, xiang@kernel.org, linux-erofs@lists.ozlabs.org Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" --8znHms9eZMkWe5DE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 30, 2021 at 11:31:28PM +0800, Huang Jianan wrote: > =E5=9C=A8 2021/8/30 21:27, Huang Jianan =E5=86=99=E9=81=93: > >=20 > >=20 > > =E5=9C=A8 2021/8/26 6:39, Tom Rini =E5=86=99=E9=81=93: > > > On Mon, Aug 23, 2021 at 08:36:44PM +0800, Huang Jianan wrote: > > >=20 > > > > From: Huang Jianan > > > >=20 > > > > This patch mainly deals with uncompressed files. > > > >=20 > > > > Signed-off-by: Huang Jianan > > > > --- > > > > =C2=A0 fs/Kconfig=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 |=C2=A0=C2=A0 1 + > > > > =C2=A0 fs/Makefile=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = |=C2=A0=C2=A0 1 + > > > > =C2=A0 fs/erofs/Kconfig=C2=A0=C2=A0=C2=A0 |=C2=A0 12 ++ > > > > =C2=A0 fs/erofs/Makefile=C2=A0=C2=A0 |=C2=A0=C2=A0 7 + > > > > =C2=A0 fs/erofs/data.c=C2=A0=C2=A0=C2=A0=C2=A0 | 124 ++++++++++++++ > > > > =C2=A0 fs/erofs/erofs_fs.h | 384 > > > > ++++++++++++++++++++++++++++++++++++++++++++ > > > > =C2=A0 fs/erofs/fs.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 231 ++++= ++++++++++++++++++++++ > > > > =C2=A0 fs/erofs/internal.h | 203 +++++++++++++++++++++++ > > > > =C2=A0 fs/erofs/namei.c=C2=A0=C2=A0=C2=A0 | 238 +++++++++++++++++++= ++++++++ > > > > =C2=A0 fs/erofs/super.c=C2=A0=C2=A0=C2=A0 |=C2=A0 65 ++++++++ > > > > =C2=A0 fs/fs.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 |=C2=A0 22 +++ > > > > =C2=A0 include/erofs.h=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 19 +++ > > > > =C2=A0 include/fs.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2= =A0=C2=A0 1 + > > > > =C2=A0 13 files changed, 1308 insertions(+) > > > > =C2=A0 create mode 100644 fs/erofs/Kconfig > > > > =C2=A0 create mode 100644 fs/erofs/Makefile > > > > =C2=A0 create mode 100644 fs/erofs/data.c > > > > =C2=A0 create mode 100644 fs/erofs/erofs_fs.h > > > > =C2=A0 create mode 100644 fs/erofs/fs.c > > > > =C2=A0 create mode 100644 fs/erofs/internal.h > > > > =C2=A0 create mode 100644 fs/erofs/namei.c > > > > =C2=A0 create mode 100644 fs/erofs/super.c > > > > =C2=A0 create mode 100644 include/erofs.h > > > Do the style problems checkpatch.pl complains about here match what's= in > > > the linux kernel?=C2=A0 I expect at lease some of them come from usin= g custom > > > debug/etc macros rather than the standard logging functions. Thanks. > >=20 > > The code is mainly come from erofs-utils, thems it has the same problem, > > i > > will fix it ASAP. > >=20 > > Thanks, > > Jianan > >=20 > I have checked checkpatch.pl complains, some need to be fixed, and some > come frome using custom macros. It seems that there are still some warnin= gs > that are inconsistent with the linux kernel, such as : >=20 > WARNING: Use 'if (IS_ENABLED(CONFIG...))' instead of '#if or #ifdef' where > possible > #835: FILE: fs/erofs/fs.c:224: > +#ifdef CONFIG_LIB_UUID >=20 > WARNING: Possible switch case/default not preceded by break or fallthrough > comment > #763: FILE: fs/erofs/zmap.c:489: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 case Z_EROFS_VLE_CLUSTER_TYPE_NONHE= AD: >=20 > erofs-utils is written according to the linux kernel coding style, I expe= ct > this > part can be consistent in order to reduce maintenance burden and keep > with the latest feature. Yes, please fix what can be easily fixed and still kept in sync with other projects. --=20 Tom --8znHms9eZMkWe5DE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmEtAhYACgkQFHw5/5Y0 tywNMwv9E09dQu8OFxzLTYa3E0zmA0cEeSp3ne9vCBGjCI9Vz02aEYTuwAtV10Aj x1WY7NUSf6qitDqWTdQ/xbCnaEbQWhyPFCtaLiDBz9xA37CmPzuczs0x1il+CWoQ iAQkPY3ryS3VQVZAKQzLRPUFidFXIqU4axAHjdUWGGy01HO9Y4CDPGwPeKdr+lNA 0SEl6yE/HpocK+VuJwT58/7A6mt3nElpx+q+5v2D+kgO/qki7Hp8J9O9ZKxsZdrV Twm+2RCn9kpmUnGMSd9L9TdEBO/21Dt7DPvGvhZ0iYrjtmH2EWQ5ULi1mPwxzg8w mqnWSoWY65AEF4e5dQrj36npyJSNe02WdtwYXn5MwJuqlxRk8J49BX7OVnWePSih t8AghVA7mMuNngcRc8VZd88NItlwnCR22V0GT0ZROvJ8ZYqLHlog5O+tIc8KPofh lmxgyoPv6KQjqtzGDHtd2sBPkoiI17FxzRPyZ801eGFputPmV3weGadnq0HLmmmB 9T9v38Yb =Fboa -----END PGP SIGNATURE----- --8znHms9eZMkWe5DE-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EB65C432BE for ; Mon, 30 Aug 2021 16:07:00 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A22060F42 for ; Mon, 30 Aug 2021 16:06:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9A22060F42 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C1FAC833AA; Mon, 30 Aug 2021 18:06:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="QYYvjcEq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 86550833B2; Mon, 30 Aug 2021 18:06:55 +0200 (CEST) Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DECEC833A5 for ; Mon, 30 Aug 2021 18:06:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf36.google.com with SMTP id g11so8603380qvd.2 for ; Mon, 30 Aug 2021 09:06:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CVTWXp7s9BBHihml8SBO596Xipd7Bk4i6qQnKWIOlgU=; b=QYYvjcEqkz3Rn2K12Odly/izAiQeqelGqAzuPMrciNO0YS1WTAn59fswvyXryUf8Ow tAFiWDWmidIivA93KrboxDdI4ApgxsYsq0xjVp1x6f3wfSZwIZ5MiHEuuEL/GLbN6dTi 8ww5PMfgQv8bm/wU7fcQ4e1p8VjLd6d8atA8w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CVTWXp7s9BBHihml8SBO596Xipd7Bk4i6qQnKWIOlgU=; b=IS7FcuJmMdxxrpfxZUpejXbBI6IjluAas8uEvyZ9gdjWr+PkNhJVeb2sMeK2YBrbS6 KTElFo1+nzwMgHhhBX3VEKvLAYc2H6f7wjldcK5/GQfc5okO4xtvRqyP7SUptlAbb5pf oRy4/fXznwnO/EZft00A4At8IwJEu85uZbz51X1EIA7Hm5+MpIhBBoq7yOx/2pEL9emM p0Kt9ghZp5oO5wBBmiKCIXevatThwtTooK3BdO2a9AoESIPyEaMBIEXyEmx9rft6K+Jn 1oHqM60dcEmQ+AA/FJXC94EzYNvuK1CRHZ9wm5q7OxACE7j8jv6TX/+atWt3HKLpO3lP BFfw== X-Gm-Message-State: AOAM533vFT97h4U0ab94YiTEolUrmNlo6HvqBu2J1I2hOj/TX5PhwurO r+LSudA0aacMouBLrJeuw71y5Q== X-Google-Smtp-Source: ABdhPJzIXagLMUi1hQ5pkdHu3gqpjipgEhH0AW2n1rmdLkyY0+77VsOPXLod3qiNz0272ZU6YBVHLA== X-Received: by 2002:a0c:8525:: with SMTP id n34mr24119861qva.19.1630339609595; Mon, 30 Aug 2021 09:06:49 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-8d75-4e9a-efec-7167.res6.spectrum.com. [2603:6081:7b01:cbda:8d75:4e9a:efec:7167]) by smtp.gmail.com with ESMTPSA id 19sm11272843qkf.127.2021.08.30.09.06.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Aug 2021 09:06:48 -0700 (PDT) Date: Mon, 30 Aug 2021 12:06:46 -0400 From: Tom Rini To: Huang Jianan Cc: u-boot@lists.denx.de, linux-erofs@lists.ozlabs.org, huangjianan@oppo.com, xiang@kernel.org, hsiangkao@linux.alibaba.com, chao@kernel.org Subject: Re: [PATCH v2 1/3] fs/erofs: add erofs filesystem support Message-ID: <20210830160646.GY858@bill-the-cat> References: <20210822154843.10971-1-jnhuang95@gmail.com> <20210823123646.9765-1-jnhuang95@gmail.com> <20210823123646.9765-2-jnhuang95@gmail.com> <20210825223947.GD858@bill-the-cat> <177141f0-ebbd-017e-ab63-9445b3f53ac1@gmail.com> <35ce7ab3-a21c-0401-c677-eb2140ea908d@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8znHms9eZMkWe5DE" Content-Disposition: inline In-Reply-To: <35ce7ab3-a21c-0401-c677-eb2140ea908d@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --8znHms9eZMkWe5DE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 30, 2021 at 11:31:28PM +0800, Huang Jianan wrote: > =E5=9C=A8 2021/8/30 21:27, Huang Jianan =E5=86=99=E9=81=93: > >=20 > >=20 > > =E5=9C=A8 2021/8/26 6:39, Tom Rini =E5=86=99=E9=81=93: > > > On Mon, Aug 23, 2021 at 08:36:44PM +0800, Huang Jianan wrote: > > >=20 > > > > From: Huang Jianan > > > >=20 > > > > This patch mainly deals with uncompressed files. > > > >=20 > > > > Signed-off-by: Huang Jianan > > > > --- > > > > =C2=A0 fs/Kconfig=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 |=C2=A0=C2=A0 1 + > > > > =C2=A0 fs/Makefile=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = |=C2=A0=C2=A0 1 + > > > > =C2=A0 fs/erofs/Kconfig=C2=A0=C2=A0=C2=A0 |=C2=A0 12 ++ > > > > =C2=A0 fs/erofs/Makefile=C2=A0=C2=A0 |=C2=A0=C2=A0 7 + > > > > =C2=A0 fs/erofs/data.c=C2=A0=C2=A0=C2=A0=C2=A0 | 124 ++++++++++++++ > > > > =C2=A0 fs/erofs/erofs_fs.h | 384 > > > > ++++++++++++++++++++++++++++++++++++++++++++ > > > > =C2=A0 fs/erofs/fs.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 231 ++++= ++++++++++++++++++++++ > > > > =C2=A0 fs/erofs/internal.h | 203 +++++++++++++++++++++++ > > > > =C2=A0 fs/erofs/namei.c=C2=A0=C2=A0=C2=A0 | 238 +++++++++++++++++++= ++++++++ > > > > =C2=A0 fs/erofs/super.c=C2=A0=C2=A0=C2=A0 |=C2=A0 65 ++++++++ > > > > =C2=A0 fs/fs.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 |=C2=A0 22 +++ > > > > =C2=A0 include/erofs.h=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 19 +++ > > > > =C2=A0 include/fs.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2= =A0=C2=A0 1 + > > > > =C2=A0 13 files changed, 1308 insertions(+) > > > > =C2=A0 create mode 100644 fs/erofs/Kconfig > > > > =C2=A0 create mode 100644 fs/erofs/Makefile > > > > =C2=A0 create mode 100644 fs/erofs/data.c > > > > =C2=A0 create mode 100644 fs/erofs/erofs_fs.h > > > > =C2=A0 create mode 100644 fs/erofs/fs.c > > > > =C2=A0 create mode 100644 fs/erofs/internal.h > > > > =C2=A0 create mode 100644 fs/erofs/namei.c > > > > =C2=A0 create mode 100644 fs/erofs/super.c > > > > =C2=A0 create mode 100644 include/erofs.h > > > Do the style problems checkpatch.pl complains about here match what's= in > > > the linux kernel?=C2=A0 I expect at lease some of them come from usin= g custom > > > debug/etc macros rather than the standard logging functions. Thanks. > >=20 > > The code is mainly come from erofs-utils, thems it has the same problem, > > i > > will fix it ASAP. > >=20 > > Thanks, > > Jianan > >=20 > I have checked checkpatch.pl complains, some need to be fixed, and some > come frome using custom macros. It seems that there are still some warnin= gs > that are inconsistent with the linux kernel, such as : >=20 > WARNING: Use 'if (IS_ENABLED(CONFIG...))' instead of '#if or #ifdef' where > possible > #835: FILE: fs/erofs/fs.c:224: > +#ifdef CONFIG_LIB_UUID >=20 > WARNING: Possible switch case/default not preceded by break or fallthrough > comment > #763: FILE: fs/erofs/zmap.c:489: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 case Z_EROFS_VLE_CLUSTER_TYPE_NONHE= AD: >=20 > erofs-utils is written according to the linux kernel coding style, I expe= ct > this > part can be consistent in order to reduce maintenance burden and keep > with the latest feature. Yes, please fix what can be easily fixed and still kept in sync with other projects. --=20 Tom --8znHms9eZMkWe5DE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmEtAhYACgkQFHw5/5Y0 tywNMwv9E09dQu8OFxzLTYa3E0zmA0cEeSp3ne9vCBGjCI9Vz02aEYTuwAtV10Aj x1WY7NUSf6qitDqWTdQ/xbCnaEbQWhyPFCtaLiDBz9xA37CmPzuczs0x1il+CWoQ iAQkPY3ryS3VQVZAKQzLRPUFidFXIqU4axAHjdUWGGy01HO9Y4CDPGwPeKdr+lNA 0SEl6yE/HpocK+VuJwT58/7A6mt3nElpx+q+5v2D+kgO/qki7Hp8J9O9ZKxsZdrV Twm+2RCn9kpmUnGMSd9L9TdEBO/21Dt7DPvGvhZ0iYrjtmH2EWQ5ULi1mPwxzg8w mqnWSoWY65AEF4e5dQrj36npyJSNe02WdtwYXn5MwJuqlxRk8J49BX7OVnWePSih t8AghVA7mMuNngcRc8VZd88NItlwnCR22V0GT0ZROvJ8ZYqLHlog5O+tIc8KPofh lmxgyoPv6KQjqtzGDHtd2sBPkoiI17FxzRPyZ801eGFputPmV3weGadnq0HLmmmB 9T9v38Yb =Fboa -----END PGP SIGNATURE----- --8znHms9eZMkWe5DE--