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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6782C4332F for ; Mon, 30 Oct 2023 15:02:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233603AbjJ3PCD (ORCPT ); Mon, 30 Oct 2023 11:02:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233578AbjJ3PB7 (ORCPT ); Mon, 30 Oct 2023 11:01:59 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92A47F7 for ; Mon, 30 Oct 2023 08:01:57 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E26EC433C9; Mon, 30 Oct 2023 15:01:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698678117; bh=92Q/lSc3g35CgKz+O/OyvcRiuLvIU5Y/apcn+mfhqQ8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JNCp0Re0ZeD+k26H6TgV+j6Unr0JuNIY/D8vYxtywvmP3VjCn1E/eThekiACYZpds cq4uECfOjMasN3tWzQoB5IhRVEuBUipCtvDC6gdV9UsJ9O3o74jhkSGJPR8z14ofVu qSixbTSNk522ZNUAeAQ4STqohuoTHD6f91vwjYezR0a3C0BIMP5voesimcoTyzc6Yb CFcw01IOu8bz8IPrq+RsJepOm/VIRVyetYQC1Q0Hcoma/sLa/bMauvvLSByGYUK4HI JfKfOTwhUxaSwkzhvsywLdpxCeJ4h3DbCjp92CMrAil3rAZ0BHE7uAqiqksHQxvPzB RjE9ey3gWLd1w== Message-ID: <73c052d2-2283-3bf9-2717-cc199cbd8c0f@kernel.org> Date: Mon, 30 Oct 2023 23:01:55 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v2] erofs: simplify compression configuration parser Content-Language: en-US To: Gao Xiang , linux-erofs@lists.ozlabs.org Cc: Gao Xiang , LKML References: <20231021020109.1646299-1-hsiangkao@linux.alibaba.com> <20231022130957.11398-1-xiang@kernel.org> From: Chao Yu In-Reply-To: <20231022130957.11398-1-xiang@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/10/22 21:09, Gao Xiang wrote: > From: Gao Xiang > > Move erofs_load_compr_cfgs() into decompressor.c as well as introduce > a callback instead of a hard-coded switch for each algorithm for > simplicity. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,