commit | d618bf2bfd2a095644c852ebea16f5a981f9d875 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Sep 24 20:36:23 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 24 23:04:53 2015 -0700 |
tree | 86bc014c130c068779fe27597e99698725bf5183 | |
parent | 04d53b20fe44afe635b3d4438b437f7a12927e9a [diff] |
phy: fixed-phy: properly validate phy in fixed_phy_update_state() Validate that the phy_device passed into fixed_phy_update_state() is a fixed-phy device before walking the list of phys for a fixed phy at the same address. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>