Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp223934iog; Mon, 13 Jun 2022 00:53:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlKMUQ1mwJ2fOJ0hG19bK7z7/ygveCKyNKEu+0A0hBzKv/BTEgl/thso7e5NNee4Mm8KVz X-Received: by 2002:aa7:db8d:0:b0:42e:1cbc:5e28 with SMTP id u13-20020aa7db8d000000b0042e1cbc5e28mr59130406edt.366.1655106806422; Mon, 13 Jun 2022 00:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655106806; cv=none; d=google.com; s=arc-20160816; b=pakP1keLEg8lafYkmo0q5kMxuw2r7au2BP+IM4gSngSgd3mAudINO70lRZWidjz1o/ sursaKx+Nh+13jVFtVJjjuKVJUtu//NrdMwyz0a/TaW9DHHSSGEs5kx2ukt8mHAeAY9h U45OA31gqVlqUrU/MVBpuo+/YtSQWZeSXRrYG5fLdqtJ7BRM+5tu2SvR/TxrR+OpWXVD 0Jmy820Cu7kTqOQw6tjZ8B2hAmbfaHsN6OzorGrSVOAEuW5/x+wh3UIC6kf+WrNhSFYR OsCf/tvE7uP0TuRhMfj4DdwCS6QaxMSgDggHRCQyBG8LAro32R4eFRovuHNEm18Z6p5I iywQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xPA0qTYsardejCLURtUGE/wVHt8uBsPkFyhOmOmAXhQ=; b=l4aGNNy5nhj9R2PiT/Fej7ALgQSSPOT192A/CrscNBf0uPupSgf+3ocFy8HyyALPkY ELYHuiBPC9RL7bBahOMz7UDqNmwdyUs58Q68spcrSoiwGa0gCtwne1YPBFVFExpekbxl jd6lRjBA8gfMIGLVbMyno4wb0Th5XiyBk9GDGlCdk3YrSWX1zYAAAf6Sa9KQ5PqH2ahI zPdh0BwnUXGi3aQKJZ/eeI0WodWQPUJczCXsXB3jKmXPAkU5+k6PrF0Z6hzq34sUxnca iYQwFvFGjlNGh3p2IO3DOKVHWOaOX3BahOsvbQMAY/VllOL42KGLlBoQCc2FeDGhIxZR SVVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=4rbFoaqa; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5-20020a170906024500b006fe8c58b721si6652966ejl.881.2022.06.13.00.53.01; Mon, 13 Jun 2022 00:53:26 -0700 (PDT) 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=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=4rbFoaqa; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238559AbiFMHTD (ORCPT + 99 others); Mon, 13 Jun 2022 03:19:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232635AbiFMHS6 (ORCPT ); Mon, 13 Jun 2022 03:18:58 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B13911ADB0 for ; Mon, 13 Jun 2022 00:18:57 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id f65so4799180pgc.7 for ; Mon, 13 Jun 2022 00:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=xPA0qTYsardejCLURtUGE/wVHt8uBsPkFyhOmOmAXhQ=; b=4rbFoaqayPBu/p+OWmt7iorsXoj7HEvplTxbsxip36BIOteIamhPSUHJ5/yF9AZ9TS O5CzVRQXUbZMKkxs4iA9vkqETL9xIpAsPgJYwz6pHASuyREb3vRpkV8vuAlDIlZcFw8F V11aGZV1PCLHePU/02bn6pA36MqPhCc6mQKz08/lGsfgI22OiWhB68F41ft4fVcDCg9o BYFAdT6LEwPFSDz0dbXk5okIm8/TEfM9/EOuiFytwpRIbT8RqMHzfkthMfvYgxvOhNAE VRpKydA1KH+YkzvjrkBeiu0VFUq82JILQM0SWbnN01WG8qJ5e02oZjPceN6WMCYL3RM/ xxkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xPA0qTYsardejCLURtUGE/wVHt8uBsPkFyhOmOmAXhQ=; b=eu7bwhIIqJS1wLOtiDKRULwA1tFVW96x8LDIWkNEIkG4P4VinnnpULzkYRSxunTspC 0/YNSSM9qPpBWvlxE0wuq8wNVkkNQA/Sdzvq9bn9qn8iOk7bfcUSWTSgz9ESCCeEFSlH CSSTq7IdhZ2BXXwcEbd83UAayGJOmuit4K3/Cu74yCtEjDmCqJLSIVP/qHYGMfyM9mM7 CuIFz3cMbtUl9m5+42XkjhlqJaOH6WKIOQrhPK2drqaWO39icdSKyEPf760XYi2SnEcf 5vn9U6T/b6N0MYPYwbC6CgPkv30cIuv02oHpA8ol+6izK9ENh6XrGklRQdANweicCIkz OkBw== X-Gm-Message-State: AOAM531qFPBcHgruLEmX4LlHkXAh59TOFHFyna85CtpgDA2307HzAAA3 lFzcu+i0hCyUvBfevsmOybPhBA== X-Received: by 2002:a05:6a00:148f:b0:51c:70f9:b62e with SMTP id v15-20020a056a00148f00b0051c70f9b62emr25834890pfu.84.1655104737201; Mon, 13 Jun 2022 00:18:57 -0700 (PDT) Received: from localhost ([139.177.225.255]) by smtp.gmail.com with ESMTPSA id f1-20020a17090a654100b001df51dd0c93sm17833387pjs.1.2022.06.13.00.18.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jun 2022 00:18:56 -0700 (PDT) Date: Mon, 13 Jun 2022 15:18:53 +0800 From: Muchun Song To: Gautam Menghani Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: Remove unwanted initialization in vmemmap_populate_compound_pages() Message-ID: References: <20220612182320.160651-1-gautammenghani201@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220612182320.160651-1-gautammenghani201@gmail.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On Sun, Jun 12, 2022 at 11:23:20AM -0700, Gautam Menghani wrote: > Remove unwanted initialization for the variable 'next'. This fixes the > clang scan warning: Value stored to 'next' during its initialization is > never read [deadcode.DeadStores] > > Signed-off-by: Gautam Menghani Reviewed-by: Muchun Song Thanks.