commit | 29cf396f08f6476935c445faddcaf90f2fe2fa87 | [log] [tgz] |
---|---|---|
author | Luca Coelho <luciano.coelho@intel.com> | Mon Nov 05 15:45:54 2018 +0200 |
committer | Luca Coelho <luciano.coelho@intel.com> | Tue Jan 29 16:10:30 2019 +0200 |
tree | 750b1420e3cbeb7e59fbddac09fc5120c1ce6a55 | |
parent | 94a8d87c47642bc0b99f1c9204b111b5826f1838 [diff] |
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: Luca Coelho <luciano.coelho@intel.com>