Re: [PATCH] fs/proc/task_mmu.c: fix uninitalized variable warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 18, 2019 at 03:34:59PM -0700, Andrew Morton wrote:
> On Thu, 18 Apr 2019 01:20:12 +0000 Alakesh Haloi <alakesh.haloi@xxxxxxxxx> 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?
> 
This is for 4.14 stable tree. Corresponding commit does not exist in
mainline as the code has changed.



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux