[PATCH] ARM: OMAP2+: Warn about deprecated legacy booting mode

Nishanth Menon nm at ti.com
Wed Oct 29 06:43:03 PDT 2014


On 10/28/2014 05:12 PM, Tony Lindgren wrote:
> * Aaro Koskinen <aaro.koskinen at iki.fi> [141027 16:03]:
>> Hi,
>>
>> On Mon, Oct 27, 2014 at 01:00:09PM -0700, Tony Lindgren wrote:
>>> +
>>> +	if (!of_have_populated_dt())
>>> +		pr_warn("WARNING: legacy booting deprecated, please update to boot with .dts\n");
>>> +
>>
>> Maybe use WARN so that the warning is more verbose and kernel gets tainted?
> 
> Well I was hoping to avoid annoying people with the trace.
> But can do that if people prefer that, what do others think?
> 

WARN is better and eye catchy. Also, could we add information on when
the support will be removed since we call it deprecated?


-- 
Regards,
Nishanth Menon



More information about the linux-arm-kernel mailing list