diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-05-12 13:15:29 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-12 14:06:33 -0700 |
| commit | 9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4 (patch) | |
| tree | a679480ce04a1f8874e04139be63827ea8078849 /tools/perf/scripts/python | |
| parent | octeontx2-pf: fix a buffer overflow in otx2_set_rxfh_context() (diff) | |
| download | linux-9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4.tar.gz linux-9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4.zip | |
ptp: ocp: Fix a resource leak in an error handling path
If an error occurs after a successful 'pci_ioremap_bar()' call, it must be
undone by a corresponding 'pci_iounmap()' call, as already done in the
remove function.
Fixes: a7e1abad13f3 ("ptp: Add clock driver for the OpenCompute TimeCard.")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
