mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
mdio-sun4i: oops in error handling in probe
commit227f33beabupstream. We could end up dereferencing an error pointer when we call regulator_disable(). Fixes:4bdcb1dd9f('net: Add MDIO bus driver for the Allwinner EMAC') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
75033f0294
commit
1d5dd57edb
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue