[PATCH v16 3/5] phy: core: Add devm_phy_get_by_of_node()

Bryan O'Donoghue bryan.odonoghue at linaro.org
Mon Sep 14 04:03:11 PDT 2026


On 11/09/2026 22:09, Frank Li wrote:
>> +	if (!link)
>> +		dev_dbg(dev, "failed to create device link to %s\n",
>> +			dev_name(phy->dev.parent));
> Is it okay to print dbg message()? suppose return NULL or some error?

This should be dev_err() for sure thx

---
bod



More information about the linux-phy mailing list