From: Grant Likely Date: Sun, 2 Dec 2007 05:10:03 +0000 (-0700) Subject: gianfar: fix compile warning X-Git-Tag: v2.6.24-rc5~106^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9663aea2a938f9dc60dbfef34b9e7847a69c947;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed