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

Stephen Rothwell sfr at canb.auug.org.au
Sat Mar 1 14:17:41 EST 2008


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

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

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080301/dfbbed41/attachment.pgp>


More information about the Linuxppc-dev mailing list