Re: linux-next build failure

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

 



On Mon, May 12, 2014 at 09:18:42AM -0400, Mark Salter wrote:
> I'm seeing a build failure in linux-net for c6x (!CONFIG_MMU):
> 
>   fs/binfmt_elf_fdpic.c: In function ‘elf_fdpic_dump_segments’:
>   fs/binfmt_elf_fdpic.c:1490:17: warning: unused variable ‘addr’ [-Wunused-variable]
>      unsigned long addr;
>                  ^
> This was introduced by this patch:
> 
>   Author: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
>   Date:   Sat Oct 5 18:58:47 2013 -0400
> 
>       convert the rest of binfmt_elf_fdpic to dump_emit()

... in the mainline since 3.13.  What has changed in -next?

We could put ifndef CONFIG_MMU around that declaration, I guess...

PS: Pity that we can't really use -std=gnu99 - use of compound literals
in initializers is too widespread ;-/  The last time I tried to do something
about that, I gave up when I got to __pgprot() users; in principle, we
could switch pgprot_t to a bitwise type and let sparse take care of the
typechecking, but it was too much work to pull off.  Might be worth
trying again someday...
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux