From 06c428bcd4413014b43236e77765022071424fa6 Mon Sep 17 00:00:00 2001 From: Dave Liu Date: Mon, 14 Jan 2008 11:12:01 +0800 Subject: QE: fix compile warning qe.c: In function 'qe_upload_firmware': qe.c:390: warning: pointer targets in passing argument 2 uec.c: In function 'uec_initialize': uec.c:1236: warning: 'uec_info' may be used uninitialized Signed-off-by: Dave Liu --- drivers/qe/uec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/qe/uec.c') diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c index 44cbea5785..6cb25bfbc1 100644 --- a/drivers/qe/uec.c +++ b/drivers/qe/uec.c @@ -1249,6 +1249,7 @@ int uec_initialize(int index) memset(uec, 0, sizeof(uec_private_t)); /* Init UEC private struct, they come from board.h */ + uec_info = NULL; if (index == 0) { #ifdef CONFIG_UEC_ETH1 uec_info = ð1_uec_info; -- cgit