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=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS 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 D3098C10F0E for ; Thu, 18 Apr 2019 22:35:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9D4472087F for ; Thu, 18 Apr 2019 22:35:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555626902; bh=lmd16kfzIqCQvHGsROxxDSyv+z90UpspqtPRJCjUOQw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=xw9JAvUF3NdUHLpwUAit4qbRI22OEXD53ph/+/gT8a/N7AtKagp1VaSK0Y9jhVlxh h5tBfT9t4yoy+rgkRXVu6KOJR9ZAq+EYQv8C3JykYoa+/ieE733zkZdZa+3sc4JEIK ccSORZJyQYl7lE2SDQWRFBPfFZbaVDanw1MZTK24= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725831AbfDRWfC (ORCPT ); Thu, 18 Apr 2019 18:35:02 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33020 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725824AbfDRWfB (ORCPT ); Thu, 18 Apr 2019 18:35:01 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id F06C91954; Thu, 18 Apr 2019 22:35:00 +0000 (UTC) Date: Thu, 18 Apr 2019 15:34:59 -0700 From: Andrew Morton To: Alakesh Haloi Cc: stable@vger.kernel.org, Greg Kroah-Hartman , Vlastimil Babka , Huang Ying , Sasha Levin , Sandeep Patil Subject: Re: [PATCH] fs/proc/task_mmu.c: fix uninitalized variable warning Message-Id: <20190418153459.50ee6fbea2bb6041040cbeb5@linux-foundation.org> In-Reply-To: <20190418012012.GA4296@ip-172-31-25-235.us-west-2.compute.internal> References: <20190418012012.GA4296@ip-172-31-25-235.us-west-2.compute.internal> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Thu, 18 Apr 2019 01:20:12 +0000 Alakesh Haloi wrote: > This patch fixes the following uninitialized variable warning > > fs/proc/task_mmu.c: In function 'show_smap.isra.33': > fs/proc/task_mmu.c:761:7: warning: 'last_vma' may be used uninitialized in this function [-Wmaybe-uninitialized] > bool last_vma; > ^~~~~~~~ I can't immediately find a kernel tree to which this is applicable. What kernel are you patching?