]> git.baikalelectronics.ru Git - kernel.git/commit
ice: use bitmap_free instead of devm_kfree
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
Wed, 17 Aug 2022 08:53:20 +0000 (10:53 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 2 Sep 2022 15:25:15 +0000 (08:25 -0700)
commitbb807b06e6b88fe4e282816ae8751c6cd6e14b2c
treea4c24ba5fd2ddd25c4da317ebd04b8050143adb6
parent61d240d6045af35699ba8d41070addd687af2e25
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: 687532347739a ("ice: Alloc queue management bitmaps and arrays dynamically")
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c