summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorWang Jun <1742789905@qq.com>2026-03-16 20:24:01 +0800
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-03-16 19:07:58 +0100
commitd51c60a498e83c9a79884c8e420f97e3885c9583 (patch)
treec6f897ecbceb264351cd67d0153be3051583833a /tools/perf/scripts/python/bin/stackcollapse-record
parent8ea21435fe36fb853706f4935d78bc11beb63fb4 (diff)
media: saa7164: add ioremap return checks and cleanups
Add checks for ioremap return values in saa7164_dev_setup(). If ioremap for BAR0 or BAR2 fails, release the already allocated PCI memory regions, remove the device from the global list, decrement the device count, and return -ENODEV. This prevents potential null pointer dereferences and ensures proper cleanup on memory mapping failures. Fixes: 443c1228d505 ("V4L/DVB (12923): SAA7164: Add support for the NXP SAA7164 silicon") Cc: stable@vger.kernel.org Signed-off-by: Wang Jun <1742789905@qq.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions