From: Dan Carpenter Date: Sat, 10 Mar 2012 09:00:05 +0000 (+0300) Subject: sata_mv: silence an uninitialized variable warning X-Git-Tag: v3.4-rc4~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99b80e97710ae2e53c951acfdd956e9f38e36646;p=pandora-kernel.git sata_mv: silence an uninitialized variable warning Gcc version 4.6.2-12 complains that if we can't find the "nr-ports" property in of_property_read_u32_array() then "n_ports" is used uninitialized. Let's set it to zero in that case. Signed-off-by: Dan Carpenter Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed