diff options
| author | Evgeny Novikov <[email protected]> | 2021-08-14 17:57:42 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-12-14 15:09:14 +0100 |
| commit | a9c976b18a4b66d7109826c60e951959d2b529fe (patch) | |
| tree | f22e25de8a6db06ee6d2763eddabb2bce6e4c7b2 /tools/perf/scripts/python | |
| parent | 589a9f0eb799f77de2c09583bf5bad221fa5d685 (diff) | |
media: pt3: Switch to using functions pcim_* and devm_*
pt3_probe() did not free one of IO mappings in case when one of them was
successful while another one failed. The patch fixed that by using
functions pcim_*. Also, it simplifies error handling through switching
to devm_* functions.
Found by Linux Driver Verification project (linuxtesting.org).
Link: https://lore.kernel.org/linux-media/[email protected]
Signed-off-by: Evgeny Novikov <[email protected]>
Co-developed-by: Kirill Shilimanov <[email protected]>
Signed-off-by: Kirill Shilimanov <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Tested-by: Akihiro Tsukada <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions