[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230612102617.61815edf@kernel.org>
Date: Mon, 12 Jun 2023 10:26:17 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: "Samudrala, Sridhar" <sridhar.samudrala@...el.com>
Cc: Asmaa Mnebhi <asmaa@...dia.com>, <davem@...emloft.net>,
<edumazet@...gle.com>, <pabeni@...hat.com>, <netdev@...r.kernel.org>,
<cai.huoqing@...ux.dev>, <brgl@...ev.pl>, <chenhao288@...ilicon.com>,
<huangguangbin2@...wei.com>, David Thompson <davthompson@...dia.com>
Subject: Re: [PATCH net v2 1/1] mlxbf_gige: Fix kernel panic at shutdown
On Thu, 8 Jun 2023 16:25:16 -0700 Samudrala, Sridhar wrote:
> > static void mlxbf_gige_shutdown(struct platform_device *pdev)
> > {
> > - struct mlxbf_gige *priv = platform_get_drvdata(pdev);
> > -
> > - writeq(0, priv->base + MLXBF_GIGE_INT_EN);
> > - mlxbf_gige_clean_port(priv);
> > + mlxbf_gige_remove(pdev);
> > }
>
> With this change, do you really need mlxbf_gige_shutdown() as a separate
> function as it is only calling mlxbf_gige_remove()?
Sounds like a fair ask.
--
pw-bot: cr
Powered by blists - more mailing lists