Thread (3 messages) flat view 3 messages, 3 authors, 2021-05-12

Re: [PATCH] ptp: ocp: Fix a resource leak in an error handling path

From: Richard Cochran <richardcochran@gmail.com>
Date: 2021-05-12 14:36:27
Also in: kernel-janitors, lkml

On Wed, May 12, 2021 at 01:15:29PM +0200, Christophe JAILLET wrote:
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 <redacted>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help