]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: return a new allocation for hdr page space
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 3 Jul 2024 09:58:52 +0000 (12:58 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 4 Jul 2024 11:50:05 +0000 (13:50 +0200)
commitd023a228e927c142c5c418dae346f63d1c8ba105
tree58f6729fa0a73b9b1229f4f03401f2cf08decd30
parentf27579ff8b9344226db63a902dc9e9cbddf07b74
wifi: iwlwifi: return a new allocation for hdr page space

Instead of returning the pointer to the structure describing the header
page, return the pointer to the newly allocated area. This disentangles
the user from the allocation within the page as it does not need to
advance the position itself.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20240703125541.044f2cb373f1.I52a807ac6f311b89530e18deacc7452638a6f5d8@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
drivers/net/wireless/intel/iwlwifi/pcie/tx.c