Re: [PATCH 3/3] firewire: fw-ohci: shut up false compiler warning on PPC32

2008-03-01 Thread Stefan Richter
Stephen Rothwell wrote: > On Sat, 1 Mar 2008 02:50:44 +0100 (CET) Stefan Richter <[EMAIL PROTECTED]> > wrote: >> Wasn't there a macro somewhere for this? > > Yes, uninitialized_var() in linux/compiler*.h Right. I actually did look into compiler.h and compiler-gcc.h but somehow didn't make it d

Re: [PATCH 3/3] firewire: fw-ohci: shut up false compiler warning on PPC32

2008-02-29 Thread Stephen Rothwell
On Sat, 1 Mar 2008 02:50:44 +0100 (CET) Stefan Richter <[EMAIL PROTECTED]> wrote: > > Shut up two "may be used uninitialised in this function" warnings due to > PPC32's implementation of dma_alloc_coherent(). > > Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> > --- > > Wasn't there a macro so

[PATCH 3/3] firewire: fw-ohci: shut up false compiler warning on PPC32

2008-02-29 Thread Stefan Richter
Shut up two "may be used uninitialised in this function" warnings due to PPC32's implementation of dma_alloc_coherent(). Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> --- Wasn't there a macro somewhere for this? Also, could this be better done in PPC32's dma_alloc_coherent()? At least this k