Skip to content
Commit 1caa3a5e authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: iwlwifi: pcie: add size assertions



Ensure that the TX command scratch fits into the buffer
provided by the first TB. It does, of course, but add
some build-time validations in case we touch this code.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarGregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230620125813.8f54f2990b92.If19a038dfd633d4601e3d44dd0ff678bc0a851e9@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 4742c732
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment