Thread (8 messages) flat view 8 messages, 4 authors, 2021-09-30

Re: [PATCH v2 2/2] phy: mdio: fix memory leak

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-09-29 23:48:45
Also in: lkml

On Tue, 28 Sep 2021 23:40:15 +0300 Pavel Skripkin wrote:
+	/* We need to set state to MDIOBUS_UNREGISTERED to correctly realese
+	 * the device in mdiobus_free()
+	 *
+	 * State will be updated later in this function in case of success
+	 */
+	bus->state == MDIOBUS_UNREGISTERED;
IDK how syzbot has tested it but clearly we should blindly 
depend on that.

s/==/=/

Compiler would have told you this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help