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

From: Stephen Rothwell
Date: Fri Feb 29 2008 - 22:17:53 EST


On Sat, 1 Mar 2008 02:50:44 +0100 (CET) Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> 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 <stefanr@xxxxxxxxxxxxxxxxx>
> ---
>
> Wasn't there a macro somewhere for this?

Yes, uninitialized_var() in linux/compiler*.h

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature