summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2025-09-01 16:18:08 +0800
committerAlex Williamson <alex.williamson@redhat.com>2025-09-19 14:39:52 -0600
commiteaba58355ecd124b4a8c91df7335970ad9fe2624 (patch)
treece071d0cb0096b8e41f4c8fb6783612c78342e87 /rust/helpers/helpers.c
parent801ca4ce0bce45aae1da2c8914d2f86cb68f8b55 (diff)
hisi_acc_vfio_pci: Fix reference leak in hisi_acc_vfio_debug_init
The debugfs_lookup() function returns a dentry with an increased reference count that must be released by calling dput(). Fixes: b398f91779b8 ("hisi_acc_vfio_pci: register debugfs for hisilicon migration driver") Cc: stable@vger.kernel.org Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Reviewed-by: Longfang Liu <liulongfang@huawei.com> Link: https://lore.kernel.org/r/20250901081809.2286649-1-linmq006@gmail.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions