Searched hist:"3 b43fbca" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | fw-api.h | 3b43fbca Mon Mar 13 15:48:39 CDT 2017 Johannes Berg <johannes.berg@intel.com> iwlwifi: mvm: disentangle paging command structs
Instead of using a union and hard-coding the size difference, declare both command structs properly, use a union on the stack to build them and the right sizeof() for the size.
Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> 3b43fbca Mon Mar 13 15:48:39 CDT 2017 Johannes Berg <johannes.berg@intel.com> iwlwifi: mvm: disentangle paging command structs Instead of using a union and hard-coding the size difference, declare both command structs properly, use a union on the stack to build them and the right sizeof() for the size. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
|
H A D | fw.c | 3b43fbca Mon Mar 13 15:48:39 CDT 2017 Johannes Berg <johannes.berg@intel.com> iwlwifi: mvm: disentangle paging command structs
Instead of using a union and hard-coding the size difference, declare both command structs properly, use a union on the stack to build them and the right sizeof() for the size.
Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> 3b43fbca Mon Mar 13 15:48:39 CDT 2017 Johannes Berg <johannes.berg@intel.com> iwlwifi: mvm: disentangle paging command structs Instead of using a union and hard-coding the size difference, declare both command structs properly, use a union on the stack to build them and the right sizeof() for the size. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
|