[PATCH] ARM: l2x0: fix build warning without CONFIG_OF

Kefeng Wang wangkefeng.wang at huawei.com
Fri Aug 1 01:57:35 PDT 2014


On 08/01 15:58, Russell King - ARM Linux wrote:
> On Fri, Aug 01, 2014 at 10:42:00AM +0800, Kefeng Wang wrote:
>> Commit cf9ea8f13(ARM: l2c: remove obsolete l2x0 ops for non-OF init)
>> remove some obsolete l2x0 ops, the rest of ops: l2x0_cache_sync,
>> l2x0_cache_sync, l2x0_disable only use under OF enable, so move them
>> into OF part, or "defined but not used" warning occurs.
> 
> I'm not interested; I've stated previously that I want these warnings
> to stay until such time that the code which uses them is fixed up to
> use the new methods.
> 
> The warnings act as an advertisment that it needs fixing properly.
> 

Ok, ignore pls.




More information about the linux-arm-kernel mailing list