aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2020-03-27 17:33:32 +0100
committerDavid S. Miller <[email protected]>2020-03-27 15:56:34 -0700
commit2e8c339b4946490a922a21aa8cd869c6cfad2023 (patch)
treeff5a271649bca1e64f4c1521a34f9a80e576c06e /scripts/gcc-plugins/sancov_plugin.c
parente00dd941ff9fa6ed920da5ead95d2598170fe4ea (diff)
r8169: fix PHY driver check on platforms w/o module softdeps
On Android/x86 the module loading infrastructure can't deal with softdeps. Therefore the check for presence of the Realtek PHY driver module fails. mdiobus_register() will try to load the PHY driver module, therefore move the check to after this call and explicitly check that a dedicated PHY driver is bound to the PHY device. Fixes: f32593773549 ("r8169: check that Realtek PHY driver module is loaded") Reported-by: Chih-Wei Huang <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions