diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2022-07-13 21:16:45 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-25 11:14:51 +0200 |
| commit | 4eea7f0aa2a27ef128fa1d3bc8ef658605a17c7d (patch) | |
| tree | 5582e44e375269873efd3c3a61b7b61018558104 /include/linux/fs_stack.h | |
| parent | 282ec87cbf9f63b92943a290b6b97b8e74aca2df (diff) | |
wifi: mac80211_hwsim: use 32-bit skb cookie
commit cc5250cdb43d444061412df7fae72d2b4acbdf97 upstream.
We won't really have enough skbs to need a 64-bit cookie,
and on 32-bit platforms storing the 64-bit cookie into the
void *rate_driver_data doesn't work anyway. Switch back to
using just a 32-bit cookie and uintptr_t for the type to
avoid compiler warnings about all this.
Fixes: 4ee186fa7e40 ("wifi: mac80211_hwsim: fix race condition in pending packet")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Cc: Jeongik Cha <jeongik@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fs_stack.h')
0 files changed, 0 insertions, 0 deletions
