Skip to content
Commit 29cf396f authored by Luca Coelho's avatar Luca Coelho
Browse files

iwlwifi: calculate pointers from out_cmd instead of out_cmd->hdr



The out_cmd structure starts with a header, so there's no need to use
&out_cmd->hdr, out_cmd alone is enough.  We use this when calculating
other addresses and klocwork gets confused with that because it thinks
we are trying to access hdr (as an array) beyond its size.

Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 94a8d87c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment