Re: [PATCH] net/mac80211/agg-rx.c: fix use of uninitialised values
From: Dan Carpenter
Date: Thu Jan 28 2016 - 07:30:55 EST
It's not the return where we should trigger the warning it's at the
rcu_assign_pointer(sta->ampdu_mlme.tid_rx[tid], tid_agg_rx);
line. That's for correctness, but also it should be slightly easier.
Or it should cut down on false positives if we ignored returns and only
looked global scope type assignements.
regards,
dan carpenter