[Intel-wired-lan] [PATCH net 08/13] ice: fix memory allocation call

Brelinski, TonyX tonyx.brelinski at intel.com
Tue Mar 9 23:47:38 UTC 2021


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Friday, February 26, 2021 1:19 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH net 08/13] ice: fix memory allocation call
> 
> From: Bruce Allan <bruce.w.allan at intel.com>
> 
> Fix the order of number of array members and member size parameters in a
> *calloc() call.
> 
> Fixes: b3c3890489f6 ("ice: avoid unnecessary single-member variable-length
> structs")
> Signed-off-by: Bruce Allan <bruce.w.allan at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Tested-by: Tony Brelinski <tonyx.brelinski at intel.com> A Contingent Worker at Intel




More information about the Intel-wired-lan mailing list