Skip to content
Commit f9663aea authored by Grant Likely's avatar Grant Likely Committed by Jeff Garzik
Browse files

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: default avatarGrant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 4352d826
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment