Thread (18 messages) read the whole thread 18 messages, 5 authors, 2022-11-10

Re: [PATCH 2/5] cacheinfo: Return error code in init_of_cache_level()

From: Sudeep Holla <hidden>
Date: 2022-11-08 16:06:09
Also in: linux-acpi, linux-riscv, lkml

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 <redacted>

-- 
Regards,
Sudeep

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help