aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorBo Sun <bo@mboxify.com>2025-09-30 14:12:36 +0800
committerJakub Kicinski <kuba@kernel.org>2025-09-30 17:27:44 -0700
commit92e9f4faffca70c82126e59552f6e8ff8f95cc65 (patch)
treead770ac37655194187d5aacfd7d8183e2a7616ce /drivers/usb/cdns3/cdns3-debug.h
parentocteontx2-vf: fix bitmap leak (diff)
downloadlinux-rng-92e9f4faffca70c82126e59552f6e8ff8f95cc65.tar.xz
linux-rng-92e9f4faffca70c82126e59552f6e8ff8f95cc65.zip
octeontx2-pf: fix bitmap leak
The bitmap allocated with bitmap_zalloc() in otx2_probe() was not released in otx2_remove(). Unbinding and rebinding the driver therefore triggers a kmemleak warning: unreferenced object (size 8): backtrace: bitmap_zalloc otx2_probe Call bitmap_free() in the remove path to fix the leak. Fixes: efabce290151 ("octeontx2-pf: AF_XDP zero copy receive support") Signed-off-by: Bo Sun <bo@mboxify.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions