summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2025-10-27 23:04:45 +0800
committerViresh Kumar <viresh.kumar@linaro.org>2025-10-28 10:28:13 +0530
commit9600156bb99852c216a2128cdf9f114eb67c350f (patch)
tree424368d050a598453fdbfb23c5acbbe8cc47d9db /tools/perf/scripts/python/netdev-times.py
parent85976d3774be8fe290eb0468c1b0a0c36f40cbfe (diff)
downloadkernel-9600156bb99852c216a2128cdf9f114eb67c350f.tar.gz
cpufreq: nforce2: fix reference count leak in nforce2
There are two reference count leaks in this driver: 1. In nforce2_fsb_read(): pci_get_subsys() increases the reference count of the PCI device, but pci_dev_put() is never called to release it, thus leaking the reference. 2. In nforce2_detect_chipset(): pci_get_subsys() gets a reference to the nforce2_dev which is stored in a global variable, but the reference is never released when the module is unloaded. Fix both by: - Adding pci_dev_put(nforce2_sub5) in nforce2_fsb_read() after reading the configuration. - Adding pci_dev_put(nforce2_dev) in nforce2_exit() to release the global device reference. Found via static analysis. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: stable@vger.kernel.org Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
0cbc28622fab7e39576bac82bb9'>drm/xe/gsc: Introduce GSC FWDaniele Ceraolo Spurio 2023-12-21drm/xe/uc: Rework uC version trackingDaniele Ceraolo Spurio 2023-12-21drm/xe: Encapsulate all the module parametersBommithi Sakeena 2023-12-21drm/xe/huc: Define HuC for MTLDaniele Ceraolo Spurio 2023-12-21drm/xe/huc: Extract version and binary offset from new HuC headersDaniele Ceraolo Spurio 2023-12-21drm/xe/uc: Prepare for parsing of different header typesDaniele Ceraolo Spurio 2023-12-21drm/xe/guc: Bump PVC GuC version to 70.9.1Daniele Ceraolo Spurio 2023-12-21drm/xe/uc: Add GuC/HuC firmware path overridesDaniele Ceraolo Spurio 2023-12-21drm/xe/uc: Fix uC status trackingDaniele Ceraolo Spurio 2023-12-21drm/xe/guc: Switch to major-only GuC FW tracking for MTLDaniele Ceraolo Spurio 2023-12-21drm/xe: Use Xe assert macros instead of XE_WARN_ON macroFrancois Dugast 2023-12-21drm/xe: Add patch version on guc firmware initZhanjun Dong 2023-12-21drm/xe/lnl: Add GuC firmware definitionMatt Roper 2023-12-21drm/xe: Prefer WARN() over BUG() to avoid crashing the kernelFrancois Dugast 2023-12-21drm/xe: Invert mask and val in xe_mmio_wait32.Rodrigo Vivi 2023-12-21drm/xe: Cleanup style warningsFrancois Dugast 2023-12-21drm/xe: Cleanup SPACING style issuesFrancois Dugast 2023-12-21drm/xe: fix HuC FW ordering for DG1Daniele Ceraolo Spurio 2023-12-19drm/xe: Memory allocations are tile-based, not GT-basedMatt Roper 2023-12-19drm/xe: Load HuC on Alderlake PLucas De Marchi 2023-12-19drm/xe/adln: Enable ADL-NMatt Roper 2023-12-19drm/xe/mmio: Use struct xe_regLucas De Marchi 2023-12-19drm/xe/guc: Move GuC registers to regs/Lucas De Marchi 2023-12-19drm/xe: GuC and HuC loading support for RKLAnusha Srivatsa 2023-12-19drm/xe: Always log GuC/HuC firmware versionsLucas De Marchi 2023-12-19drm/xe: Update GuC/HuC firmware autoselect logicLucas De Marchi 2023-12-19drm/xe: Fix platform orderLucas De Marchi 2023-12-19drm/xe: Remove unused revid from firmware nameLucas De Marchi 2023-12-19drm/xe: Load HuC on Alderlake SAnusha Srivatsa 2023-12-19drm/xe/huc: Support for loading unversiond HuCAnusha Srivatsa 2023-12-19drm/xe/xe_uc_fw: Use firmware files from standard locationsMauro Carvalho Chehab 2023-12-12drm/xe/guc: Report submission version of GuC firmwareMatthew Brost 2023-12-12drm/xe: Remove i915_utils dependency from xe_pcode.Rodrigo Vivi 2023-12-12drm/xe: Convert xe_mmio_wait32 to us so we can stop using wait_for_us.Rodrigo Vivi 2023-12-12drm/xe: Let's return last value read on xe_mmio_wait32.Rodrigo Vivi 2023-12-12drm/xe: Introduce a new DRM driver for Intel GPUsMatthew Brost