From: Jeff Garzik Date: Fri, 19 Aug 2011 03:52:36 +0000 (-0400) Subject: [libata] sata_sil: fix used-uninit warning X-Git-Tag: v3.1-rc3~12^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd1699ec5f1a6f1f2df6b48fa54bc6ff790143c;p=pandora-kernel.git [libata] sata_sil: fix used-uninit warning Init 'serror' to silence the following warning: drivers/ata/sata_sil.c: In function ‘sil_interrupt’: drivers/ata/sata_sil.c:453:14: warning: ‘serror’ may be used uninitialized in this function [-Wuninitialized] This is not a 'can never happen' but is nonetheless extremely unlikely. The easiest and cleanest warning fix is simply to init the var, rather than worry about marking the var uninit-ok. Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed