[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221026204017.0a0afff5@kernel.org>
Date: Wed, 26 Oct 2022 20:40:17 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Alexandru Tachici <alexandru.tachici@...log.com>
Cc: <linux-kernel@...r.kernel.org>, <andrew@...n.ch>,
<linux@...linux.org.uk>, <davem@...emloft.net>,
<edumazet@...gle.com>, <pabeni@...hat.com>,
<netdev@...r.kernel.org>, <lennart@...omain.com>
Subject: Re: [net v3 1/1] net: ethernet: adi: adin1110: Fix notifiers
On Tue, 25 Oct 2022 10:52:27 +0300 Alexandru Tachici wrote:
> + int err;
> +
> + err = adin1110_setup_notifiers();
> + if (err)
> + return err;
> +
> + return spi_register_driver(&adin1110_driver);
What unregisters the notifies if spi_register_driver()
fails, now?
Powered by blists - more mailing lists