On Tue, Nov 08, 2022 at 12:04:18PM +0100, Pierre Gondois wrote: > Make init_of_cache_level() return an error code when the cache > information parsing fails to help detecting missing information. > > init_of_cache_level() is only called for riscv. Returning an error > code instead of 0 will prevent detect_cache_attributes() to allocate > memory if an incomplete DT is parsed. > Reviewed-by: Sudeep Holla <sudeep.holla@xxxxxxx> -- Regards, Sudeep