Skip to content
Commit 5db7af53 authored by Johannes Berg's avatar Johannes Berg Committed by Greg Kroah-Hartman
Browse files

iwlwifi: avoid void pointer arithmetic



[ Upstream commit 3827cb59 ]

Avoid void pointer arithmetic since it's technically
undefined and causes warnings in some places that use
our code.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220128153014.e349104ecd94.Iadc937f475158b9437becdfefb361a97e7eaa934@changeid


Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Stable-dep-of: 8ba438ef ("wifi: iwlwifi: mvm: Fix a memory corruption issue")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6ff75f52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment