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=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_MUTT 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 91D27C10F0B for ; Thu, 18 Apr 2019 06:56:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 62ACA2184B for ; Thu, 18 Apr 2019 06:56:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555570590; bh=IPF2Lx6RvmyfYFjfCU0nqiHMKD+8JFp+Zf1IkXggqZY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=oai8UeHVW6AxDx39jJ1h4w16KktnywaeHFlQ3o+yVr4HeWVZIPjTNRoRNEEi+S0vE u2dFwF6lBjFsmd8zMNloNz1huPAxj1RyyGdVJdru16oBO0thxBeS1B84BbINlDpZ7b w7Fhe8IqD/j7ePuKMic0DJZ/PATDnX4DKi50aw7k= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725987AbfDRG43 (ORCPT ); Thu, 18 Apr 2019 02:56:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:43006 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725886AbfDRG43 (ORCPT ); Thu, 18 Apr 2019 02:56:29 -0400 Received: from localhost (ip-213-127-62-114.ip.prioritytelecom.net [213.127.62.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0E1DC20821; Thu, 18 Apr 2019 06:56:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555570589; bh=IPF2Lx6RvmyfYFjfCU0nqiHMKD+8JFp+Zf1IkXggqZY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ab2zhsDTQyqs8Kr7BWJrNEQkETiUoOMGF6IwgUx4JQBIMjaAp1RzT8Uk700eGkpAw A3VtVuQI+sIK4cDvD5cCm0Snj+ODVxEFVzfD0hhY6JUhW4GUQSM9LO+3tbVaY/3svn sG7Sf5e64Yrpqv7QPZj4cSy5AT1LuvCOmGldmf6Q= Date: Thu, 18 Apr 2019 08:56:23 +0200 From: Greg Kroah-Hartman To: Alakesh Haloi Cc: stable@vger.kernel.org, Andrew Morton , Vlastimil Babka , Huang Ying , Sasha Levin , Sandeep Patil Subject: Re: [PATCH] fs/proc/task_mmu.c: fix uninitalized variable warning Message-ID: <20190418065623.GA13835@kroah.com> References: <20190418012012.GA4296@ip-172-31-25-235.us-west-2.compute.internal> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190418012012.GA4296@ip-172-31-25-235.us-west-2.compute.internal> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Thu, Apr 18, 2019 at 01:20:12AM +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; > ^~~~~~~~ > > Cc: stable@vger.kernel.org # 4.14.x > Signed-off-by: Alakesh Haloi > --- > fs/proc/task_mmu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.