On 1/14/26 09:51, Gregory Price wrote:
Change add_memory_driver_managed() to return the online type (MMOP_*) on success instead of 0. This allows callers to determine the actual online state of the memory after addition, which is important when MMOP_SYSTEM_DEFAULT is used and the actual online type depends on the system default policy.
Another reason to just let the caller handle MMOP_SYSTEM_DEFAULT itself by calling mhp_get_default_online_type() :)
-- Cheers David

