[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151214.143047.997678276798238332.davem@davemloft.net>
Date: Mon, 14 Dec 2015 14:30:47 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: tklauser@...tanz.ch
Cc: f.fainelli@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net: phy: mdio-mux: Check return value of
mdiobus_alloc()
From: Tobias Klauser <tklauser@...tanz.ch>
Date: Mon, 14 Dec 2015 13:51:51 +0100
> mdiobus_alloc() might return NULL, but its return value is not
> checked in mdio_mux_init(). This could potentially lead to a NULL
> pointer dereference. Fix it by checking the return value
>
> Fixes: 0ca2997d1452 ("netdev/of/phy: Add MDIO bus multiplexer support.")
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
Applied, thanks Tobias.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists