aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorRussell King <[email protected]>2019-12-19 23:24:47 +0000
committerDavid S. Miller <[email protected]>2019-12-20 21:47:04 -0800
commitd2ed49cf6c13e379c5819aa5ac20e1f9674ebc89 (patch)
tree7cc1daa70a24c5e38ab4a6250930a05d1fe60b75 /lib/netdev-notifier-error-inject.c
parent4c8dc00503db24deaf0b89dddfa84b7cba7cd4ce (diff)
mod_devicetable: fix PHY module format
When a PHY is probed, if the top bit is set, we end up requesting a module with the string "mdio:-10101110000000100101000101010001" - the top bit is printed to a signed -1 value. This leads to the module not being loaded. Fix the module format string and the macro generating the values for it to ensure that we only print unsigned types and the top bit is always 0/1. We correctly end up with "mdio:10101110000000100101000101010001". Fixes: 8626d3b43280 ("phylib: Support phy module autoloading") Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Russell King <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions