iwlwifi: Use struct_size() in kzalloc
Use struct_size() in kzalloc instead of the 'regd_to_copy' Signed-off-by: NYueHaibing <yuehaibing@huawei.com> Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
Showing
想要评论请 注册 或 登录
Use struct_size() in kzalloc instead of the 'regd_to_copy' Signed-off-by: NYueHaibing <yuehaibing@huawei.com> Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>