[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220509155525.26e053db@kernel.org>
Date: Mon, 9 May 2022 15:55:25 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<netdev@...r.kernel.org>, <peppe.cavallaro@...com>,
<alexandre.torgue@...s.st.com>, <davem@...emloft.net>,
<edumazet@...gle.com>
Subject: Re: [PATCH] net: stmmac: fix missing pci_disable_device() on error
in stmmac_pci_probe()
On Fri, 6 May 2022 17:40:39 +0800 Yang Yingliang wrote:
> Fix the missing pci_disable_device() before return
> from stmmac_pci_probe() in the error handling case.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
Here indeed pcim_enable_device() seems like a better fit.
Powered by blists - more mailing lists