diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-04-30 16:22:06 -0700 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-05-20 11:57:35 +0200 |
| commit | e12538c5309a5a17673e6fcff404c440c6e0e01c (patch) | |
| tree | 15cf8a9b9aaf52e4e43bf34d72cfafa6ea03ef7f /rust/kernel/alloc/kvec/errors.rs | |
| parent | 878492af7d503f4b093ea903173500be00e9cbe7 (diff) | |
wifi: rt2x00: allocate anchor with rt2x00dev
Instead of being creative with devm, allocate with rt2x00dev by using a
flexible array member. Simplifies code slightly.
It's worth noting that in 25369b22223d1c56e42a0cd4ac9137349d5a898e , the
proper device was set to the devm call as it seems there was confusion
there.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Link: https://patch.msgid.link/20260430232206.141461-1-rosenp@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
