lkml.org 
[lkml]   [2005]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6 patch] add -Werror-implicit-function-declaration to CFLAGS
Adrian Bunk <bunk@stusta.de> wrote:
>
> > > >
> > > > Sorry, I need to build allmodconfig kernels on wacky architectures (eg
> > > > ppc64) and this patch is killing me.
> > >
> > > Can you send me the list of compile errors so that I can work on fixing
> > > them?
> > >
> >
> > No handily, sorry. Missing virt_to_bus() is the typical problem.
> >
>
> But in this case -Werror-implicit-function-declaration doesn't create
> new compile errors, it only moves compile errors from compile time to
> link or depmod time - which is IMHO not a bad change.

It is a quite inconvenient change if you want to get full coverage with
`make allmodconfig'.

Maybe one can do `make -i' and then weed through the noise - I haven't
tried.

> If you really want to keep the status quo, you can still steal the
> following from sparc64:
> extern unsigned long virt_to_bus_not_defined_use_pci_map(volatile void *addr);
> #define virt_to_bus virt_to_bus_not_defined_use_pci_map
> extern unsigned long bus_to_virt_not_defined_use_pci_map(volatile void *addr);
> #define bus_to_virt bus_to_virt_not_defined_use_pci_map

Maybe. There were some other failures.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-11 22:30    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site