[Intel-wired-lan] [PATCH net v1] ice: use bitmap_free instead of devm_kfree

G, GurucharanX gurucharanx.g at intel.com
Mon Aug 22 07:55:36 UTC 2022



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Michal Swiatkowski
> Sent: Wednesday, August 17, 2022 2:23 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH net v1] ice: use bitmap_free instead of
> devm_kfree
> 
> pf->avail_txqs was allocated using bitmap_zalloc, bitmap_free should be
> used to free this memory.
> 
> Fixes: 78b5713ac1241 ("ice: Alloc queue management bitmaps and arrays
> dynamically")
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski at linux.intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Tested-by: Gurucharan <gurucharanx.g at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list