[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191220.214740.386371442515944381.davem@davemloft.net>
Date: Fri, 20 Dec 2019 21:47:40 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: rmk+kernel@...linux.org.uk
Cc: andrew@...n.ch, f.fainelli@...il.com, hkallweit1@...il.com,
netdev@...r.kernel.org, afleming@...escale.com,
dwmw2@...radead.org, ben@...adent.org.uk
Subject: Re: [PATCH net v2] mod_devicetable: fix PHY module format
From: Russell King <rmk+kernel@...linux.org.uk>
Date: Thu, 19 Dec 2019 23:24:47 +0000
> 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 <andrew@...n.ch>
> Signed-off-by: Russell King <rmk+kernel@...linux.org.uk>
Applied and queued up for -stable.
Powered by blists - more mailing lists