commit | f9663aea2a938f9dc60dbfef34b9e7847a69c947 | [log] [tgz] |
---|---|---|
author | Grant Likely <grant.likely@secretlab.ca> | Sat Dec 01 22:10:03 2007 -0700 |
committer | Jeff Garzik <jeff@garzik.org> | Tue Dec 04 15:06:11 2007 -0500 |
tree | f0379eb27beea9273e8c1d6e5f96876df659d862 | |
parent | 4352d82647f679fb8dd9440b34400fa49beedb2c [diff] |
gianfar: fix compile warning Eliminate an uninitialized variable warning. The code is correct, but a pointer to the automatic variable 'addr' is passed to dma_alloc_coherent. Since addr has never been initialized, and the compiler doesn't know what dma_alloc_coherent will do with it, it complains. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Jeff Garzik <jeff@garzik.org>