Loading
hwtracing: hisi_ptt: Check duplicate filters before allocation
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBNZ64 CVE: NA -------------------------------- Abnormally it's reported duplicated filters added in the filter list, though the filter we created should be unique maintained by the PCIe framework. Add a duplicate filters check before allocation to prevent this case. Fixes: 6373c463 ("hwtracing: hisi_ptt: Export available filters through sysfs") Signed-off-by:Yicong Yang <yangyicong@hisilicon.com> Signed-off-by:
lujunhua <lujunhua7@h-partners.com>