Re: [PATCH] parisc: rename parisc's vmalloc_start to parisc_vmalloc_start

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

 



On Sun, Sep 27, 2009 at 11:30:39PM +0200, Helge Deller wrote:
> building kernel 2.6.32(pre), gives this compiler warning:
> /linus-linux-2.6/mm/vmalloc.c: In function 'pcpu_get_vm_areas':
> /linus-linux-2.6/mm/vmalloc.c:2104: warning: 'vmalloc_start' is used uninitialized in this function
>
> The reason is, that the code in mm/vmalloc defines a local variable called
> vmalloc_start, which is already defined as global variable in parisc's code.
>
> To avoid this kind of problems in future, I suggest to rename the parisc variable
> to parisc_vmalloc_start.
>
> Signed-off-by: Helge Deller <deller@xxxxxx>

applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux