summaryrefslogtreecommitdiff
path: root/crypto/sm4_generic.c
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-01-30 20:44:51 +0300
committerJakub Kicinski <kuba@kernel.org>2020-01-31 18:46:11 +0300
commit2e1bf3a76576eebc787d8882c3f91fa4ec743efc (patch)
tree25853cebe19b720cfca998dcf2cd5d5a09270e16 /crypto/sm4_generic.c
parent0e0daf6ac3be70608569262246f6dc33cb3f45fe (diff)
downloadlinux-2e1bf3a76576eebc787d8882c3f91fa4ec743efc.tar.xz
net: mii_timestamper: fix static allocation by PHY driver
If phydev->mii_ts is set by the PHY driver, it will always be overwritten in of_mdiobus_register_phy(). Fix it. Also make sure, that the unregister() doesn't do anything if the mii_timestamper was provided by the PHY driver. Fixes: 1dca22b18421 ("net: mdio: of: Register discovered MII time stampers.") Signed-off-by: Michael Walle <michael@walle.cc> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'crypto/sm4_generic.c')
0 files changed, 0 insertions, 0 deletions