Re: [PATCH] rtlwifi: make gcc happy

From: Dan Carpenter
Date: Sun Feb 27 2011 - 19:39:05 EST

On Sun, Feb 27, 2011 at 10:16:30PM +0100, Alessio Igor Bogani wrote:
> drivers/net/wireless/rtlwifi/rtl8192ce/trx.c: In function ârtl92ce_rx_query_descâ:
> drivers/net/wireless/rtlwifi/rtl8192ce/trx.c:255:5: warning: ârf_rx_numâ may be used uninitialized in this function
> drivers/net/wireless/rtlwifi/rtl8192ce/trx.c:257:12: warning: âtotal_rssiâ may be used uninitialized in this function
> drivers/net/wireless/rtlwifi/rtl8192ce/trx.c:466:6: warning: âweightingâ may be used uninitialized in this function

These fix actual bugs where uninitialized values are used; it's not
just a matter of silencing warnings. The patch title should mention
that. Perhaps something like:

[patch] rtlwifi: fix places where uninitialized data is used

dan carpenter
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at