[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190104.124626.1177296586022194416.davem@davemloft.net>
Date: Fri, 04 Jan 2019 12:46:26 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: christophe.jaillet@...adoo.fr
Cc: sgoutham@...vell.com, lcherian@...vell.com, gakula@...vell.com,
jerinj@...vell.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] octeontx2-af: Fix a resource leak in an error handling
path in 'cgx_probe()'
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Date: Sat, 29 Dec 2018 17:42:22 +0100
> If an error occurs after the call to 'pci_alloc_irq_vectors()', we must
> call 'pci_free_irq_vectors()' in order to avoid a resource leak.
>
> The same sequence is already in place in the corresponding 'cgx_remove()'
> function.
>
> Fixes: 1463f382f58d ("octeontx2-af: Add support for CGX link management")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Applied and queued up for -stable.
Please fix the date and time on your computer, putting improper dates into
the email headers of your patch postings makes your patch appear out
of order in my patchwork queue.
Thank you.
Powered by blists - more mailing lists