From: Lee Jones Date: Tue, 3 Dec 2013 09:26:33 +0000 (+0800) Subject: mfd: rtsx: Prevent 'used uninitialised' warnings X-Git-Tag: v3.14-rc1~142^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4db59238906becd0047aba8293b25591dd0d018a;p=pandora-kernel.git mfd: rtsx: Prevent 'used uninitialised' warnings drivers/mfd/rtl8411.c: In function 'rtl8411_fetch_vendor_settings': drivers/mfd/rtl8411.c:58:7: warning: 'reg1' is used uninitialized in this function [-Wuninitialized] drivers/mfd/rtl8411.c: In function 'rtl8411b_fetch_vendor_settings': drivers/mfd/rtl8411.c:79:7: warning: 'reg' is used uninitialized in this function [-Wuninitialized] drivers/mfd/rtl8411.c: In function 'rtl8411_fetch_vendor_settings': drivers/mfd/rtl8411.c:69:26: warning: 'reg3' may be used uninitialized in this function [-Wuninitialized] Tested-by: Micky Ching Signed-off-by: Lee Jones --- Reading git-diff-tree failed