Re: [PATCH] MIPS: Fix elfcore.c build warning

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

 



On Thu, Mar 11, 2010 at 01:42:22PM +0800, Yang Shi wrote:

> kernel/elfcore.c includes elf.h which includes arch specific elf.h.
> In MIPS elf.h, 'struct pt_regs' is declared inside the parameter
> list of elf_dump_regs function. This cause kernel build warning.
> 
> So, move the declaration out of the function parameter list to
> remove build warning.

What fixes the warning is the forward declaration of struct pt_regs not
removing the function parameter name.  So I've added a patch which does
just that.

Thanks!

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux