Re: [ 08/12] mac80211: zero initialize count field in ieee80211_tx_rate
From: Willy Tarreau
Date: Mon Mar 12 2012 - 02:34:25 EST
Hi Shafi,
On Mon, Mar 12, 2012 at 10:06:23AM +0530, Mohammed Shafi Shajakhan wrote:
> >So I'm pretty sure this patch is wrong for 2.6.32; it could be
> >backported but I don't think the change is necessary anyway.
>
> true, but i think its better to initialize the count = 0 rather than
> count = 1, though the older version driver checks for rate[i].idx >= 0
> in ath_rc_tx_status. while the ath_tx_status has no such iteration in
> the older driver code.
In practice, if the patch brings nothing and not even correctness, I'd
rather drop it than make us believe that some issue is fixed. However
if you think it does happen to fix a real issue in 2.6.32 (possibly
combined with some other missing patch), please tell me so and I will
happily undelete it.
Regards,
Willy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/