Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp235194iog; Wed, 15 Jun 2022 00:56:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tXVg6iS2UWG+ajBGdhHASXunl76RZXh5z6l0EhIdcIfjDXB6fnpcefpGERF+T0mcPP31PT X-Received: by 2002:a17:902:e84c:b0:167:6ef7:b09b with SMTP id t12-20020a170902e84c00b001676ef7b09bmr7607101plg.43.1655279766217; Wed, 15 Jun 2022 00:56:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655279766; cv=none; d=google.com; s=arc-20160816; b=oq96/SDVsa/RuSrvxHxypO9Ct9YEyBMYf9cRTU/8T+1NbqnMUH3B0HrR491hgzqxsK W1hL0gBs9aVtyE27wOGhcM96PXDkeNhCdTlv57dUhKZMGMOJBB+1j9vuEMwrqwb8Z3uL pQH8p3eZ3l0vWmMHRZuaPrZW+DqjZt8Twloc7+128VHMLdGVK+sh1jEyzKwG5PMWjGOM MdYHCCeaQZDTZxnvOEXxpLIpUregcnldG1m//Bz1aH/Od3samXDMU9TTzudEC3RrpXeN Lye5Z4fmVTAdx9Z/oBaO78jW1Z3l3OLSSZv9YI4zuFrJiUdKp+jEI6qye1S1KHvwU3gJ is4g== 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 :dkim-signature; bh=xnHkSCs6PdKJAPZ0Z/Xsv20auVXjVTIVCUkcb6mMdqc=; b=xIKm64J4riBNMIiSWgVtUxQTVd5gg0n0RYch90Bz+bgPqlVZ8jQ/tPoHQ9VxrZuYik ny0MObk3YX724LBOdwbtoH2ctH1K3Vi42c5meCv0BuN40GOUjGW78Q7BMR+PkpkWHduR 2a1Ti5hVAFwHNv32zVHBDld3SdUN0zA3QlQ7y9p0wxvyV1rWQIw+a+Ym6y9qhSTGUiHZ eI6tgJQCz8Sj7XAzT7dVwEIlrxmRJqVU+PO0Whu4uWkmVwBh1CB1Nsj6x2ORmfx1N7LD zK2Wpsq2QjTaCBJs43Js/gGMwPDNxhl036b5tdLfGF6uYIA4S9ozffkMhMVXRr3hnMIN bCDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=yFyn1WRx; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b00408c84e996asi1735227pgq.509.2022.06.15.00.55.52; Wed, 15 Jun 2022 00:56:06 -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=@suse.de header.s=susede2_rsa header.b=yFyn1WRx; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243110AbiFOHeo (ORCPT + 99 others); Wed, 15 Jun 2022 03:34:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234935AbiFOHem (ORCPT ); Wed, 15 Jun 2022 03:34:42 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D33727CDB for ; Wed, 15 Jun 2022 00:34:41 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 2D5A221BBE; Wed, 15 Jun 2022 07:34:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1655278480; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xnHkSCs6PdKJAPZ0Z/Xsv20auVXjVTIVCUkcb6mMdqc=; b=yFyn1WRxN68GfWQ2CP9O8+VB/ycfwlRW6zDkMVFofDlAmrFUR7HuA1IWBISCU7S01W6Gmk Wmcj3oI91GicuwzUitHsQj1LDLSfPxlR2TFtubYkQDHPyx+1lnbol/32Z4LAt/07ckVSU8 Dom+BWnlvpOjSkYkfYn7uUxaClZ5B0E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1655278480; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xnHkSCs6PdKJAPZ0Z/Xsv20auVXjVTIVCUkcb6mMdqc=; b=HYS04bPWnnTR2eWyBn8plNvrzxrAUZcHGcaI1tbUMLxMQZrRponNWwk3rfh/2ctSNKCBSe QgKIdqIUUyEdpQCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 4C57C139F3; Wed, 15 Jun 2022 07:34:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ArtyDY+LqWLTCAAAMHmgww (envelope-from ); Wed, 15 Jun 2022 07:34:39 +0000 Date: Wed, 15 Jun 2022 09:34:37 +0200 From: Oscar Salvador 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=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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: Oscar Salvador -- Oscar Salvador SUSE Labs