commit | c1f33442976b52676aa8b5ee9140b0b85bb4bd75 | [log] [tgz] |
---|---|---|
author | Liad Kaufman <liad.kaufman@intel.com> | Mon Oct 22 10:12:28 2018 +0300 |
committer | Luca Coelho <luciano.coelho@intel.com> | Fri Jan 25 20:57:21 2019 +0200 |
tree | 475d07071fd3511e8fc1e3129ea93008a0812f4b | |
parent | 162b22c93e66530405d793a830f75da3fc48ed31 [diff] |
iwlwifi: memcpy from dev_cmd and not dev_cmd->hdr Klocwork complains about copying from dev_cmd->hdr if copying more than 4 bytes since it means part of the copy is from the next field. This isn't a real bug, but for not failing Klocwork next time - fix this. Signed-off-by: Liad Kaufman <liad.kaufman@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>