1
0
Files
linux/drivers
Johannes Berg d0f718c1c0 mac80211_hwsim: fix smatch/sparse complaints
The code is fine in both cases as-is, but we can
write it slightly differently to fix smatch/sparse
complaints:
 * compare the skb pointer (which we use as a cookie)
   by casting the skb to unsigned long rather than the
   cookie to a pointer (fixes "different address spaces")
 * when transmitting, data->channel must be assigned,
   don't check it (fixes "dereferenced before check")

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-06-25 16:17:46 +02:00
..
2012-05-24 16:22:53 -04:00
2012-05-31 08:46:50 +02:00
2012-05-29 16:22:32 -07:00
2012-06-06 15:20:22 -04:00