# Re: \[PATCH net-next v4 3/7\] net: axienet: Use MDIO bus device in prints

- From: Sean Anderson \<sean.anderson@linux.dev\>
- Date: 2025-08-05 21:16:06 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2025/08/3159263
- Thread: https://ratatoskr.run/netdev/2025/08/3158978/t.md

```text
On 8/5/25 17:07, Andrew Lunn wrote:
> On Tue, Aug 05, 2025 at 11:34:52AM -0400, Sean Anderson wrote:
>> For clarity and to remove the dependency on the parent netdev, use the
>> MDIO bus device in print statements.
> 
>> @@ -186,28 +187,31 @@ static int axienet_mdio_enable(struct axienet_local *lp, struct device_node *np)
>>  		/* Legacy fallback: detect CPU clock frequency and use as AXI
>>  		 * bus clock frequency. This only works on certain platforms.
>>  		 */
>> -		np1 = of_find_node_by_name(NULL, "cpu");
>> +		np1 = of_find_node_by_name(NULL, "lpu");
> 
> There is nothing about dev in this change?

Whoops, this was left over from doing s/lp/cp/ and then reverting
it when I decided that there would be too much diffstat. Will fix for v5.

--Sean




```
