On Fri, Oct 16, 2026 at 11:46:11AM +0100, James Clark wrote:
+static enum cscfg_load_ops cscfg_get_state(void) +{
- return cscfg_mgr ? cscfg_mgr->load_state : CSCFG_UNLOAD;
+}
Could we check !cscfg_mgr explicitly in the three functions instead?
Using CSCFG_UNLOAD to represent both "not initialized" and "cfg unloading" is a bit confusing.
Thanks, Leo