Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5583038rwj; Wed, 21 Dec 2022 04:41:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXserRJIpB4ySeRoV4GzfA+cLb1a2NWj14J1Ah/jTJFHiMUsX8HGiOjJIkKd1BoH1mIjVp31 X-Received: by 2002:a50:ee8c:0:b0:47e:6b3c:931a with SMTP id f12-20020a50ee8c000000b0047e6b3c931amr456133edr.10.1671626469644; Wed, 21 Dec 2022 04:41:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671626469; cv=none; d=google.com; s=arc-20160816; b=lg5NRHMP5vN7F79RJpKTsNAMjL+dP+BI4pAkLjKRUAYvrG2ogvse8ww8kfrPAWZYvf Vda2/ig3K8qRCswdsG+hTGmY/jTWGfmfyJW/YdtvLh+IA0D6HBFq+pmjc8CjC3asiyAC /dGeTjrp5bxttscDvWC2Cfdu0Si/53HogWTf3nUm23dHNfb8grYsO+5UGT1c1t8EhyKz N54XANdOMmVR53n2sRQSiuYgRGs6QdFqgJFjF5I0yrvEylCiiSdRHUhuZTWdZDLbXdhE DlsdLveWepBaG5vCaNog+o/MEsfpUGuNe4Iwy5w/YrNMW/gRMmad5KiQXyPGv6M0zC+v cAJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=ihaKuc9L1/NDMSiOp8AopQQLQt9u3ZLYi0S2+JPRHFw=; b=FIH/0g2e6LJXz0OSKFPfMtCftQLIEM9yHIYbroPRuT3PiQAtLPHOCxlII0QsREkJUx BU01YQVW0YCo7YSNbWCev74hR8x/P8EoSk+o0atn6oAusaRfjVCajlRRZSIMB063XNKB /S3eeW5l/bley4ZNLvJazBdQ4r+NyYzsuAcmvrpaCurDCfzIhAkHJA3lxWpZlq5e88mR juZfzYu7pfMd4HAY9V2yOcaQEz0KgZysytzy7cbZvVuoi2aZCP6wGHGu54dTPf2mWIhl ucsrNxXD2jPOSMVihn2ZqGc/vhuEvvA+Xe+A3/ICZrfFS3PtM3v5b7BTlAsnWMh3ugr2 K0tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VMuwgOYr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n1-20020a056402514100b0046cfe42c12csi12458627edd.629.2022.12.21.04.40.53; Wed, 21 Dec 2022 04:41:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VMuwgOYr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231569AbiLUMe3 (ORCPT + 69 others); Wed, 21 Dec 2022 07:34:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231618AbiLUMeZ (ORCPT ); Wed, 21 Dec 2022 07:34:25 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ECC312744 for ; Wed, 21 Dec 2022 04:34:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0BF63B81B67 for ; Wed, 21 Dec 2022 12:34:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B0A2C433D2; Wed, 21 Dec 2022 12:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671626058; bh=S/O6ux2v6aPfNcNVslK998HVTz/7pVCS2/8Ewlu4WHM=; h=Date:To:Cc:References:From:Subject:In-Reply-To:From; b=VMuwgOYr4JUNQEiz784JqTKrMgf9DQlsvwACaQi4uMCVO9t8lZFQYSCcxDiUu7YkI lWNfB+2J/FydC9dPf+X2wMNcMgfdaTmeoUEnsqkzDlTFjqkxIlEAmsREXuHT9aL83K YcatceSjgBBmaN7ibI0DnrAN9eXS8miXOos+JxBnQ6LWCNFyfCG3I/kl34cj1Uvfl3 sc8cP2FyyPbnQAoenb/B9HK/nIl5ijTlrFwnBqUd3YEUXa6zv2YcN7IaASBfiEiUnx vwD7EURTyPbKmsxWZZ5CQLKwnKFvtcBmCcy8RnythY1FoUtKkvw0q4cL6v6wD+/Bcm 0E9eXivW0h3DA== Message-ID: Date: Wed, 21 Dec 2022 20:34:13 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US To: Yangtao Li , s.shtylyov@omp.ru Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, jaegeuk@kernel.org References: <20221221033021.36615-1-frank.li@vivo.com> From: Chao Yu Subject: Re: [PATCH REPOST] f2fs: file: drop useless initializer in expand_inode_data() In-Reply-To: <20221221033021.36615-1-frank.li@vivo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, On 2022/12/21 11:30, Yangtao Li wrote: > Hi Sergey, > >> In expand_inode_data(), the 'new_size' local variable is initialized to >> the result of i_size_read(), however this value isn't ever used, so we >> can drop this initializer... >> >> Found by Linux Verification Center (linuxtesting.org) with the SVACE static >> analysis tool. >> >> Signed-off-by: Sergey Shtylyov >> >> --- >> This patch is against the 'dev' branch of Jaegeuk Kim's F2FS repo... >> Reposting with ISP RAS mailing lists CC'ed now... > > Why do you repeatedly send a patch that cannot be applied, and this does not have The format is weired, but still I can apply this into my git repo... > a CC on linux-kernel.vger.kernel.org. I guess linux-kernel.vger.kernel.org is not mandatory, feel free to Cc this mailing list. Thanks, > > Otherwise, code modification looks good to me. > > Thx, > Yangtao