1 comment:
File src/soc/amd/cezanne/config.c:
It looks like the soc_get_config() return value is typically checked for non-0. […]
cfg is always non-NULL, so no need to re-check that here: config_of_soc calls config_of which calls die() if either dev or dev->chip_info are NULL. I can add a comment about that to make that a bit clearer.
What I do wonder though is is I should add a check if cfg->common_config is non-NULL and call die("common_config missing in SoC config!") if it is NULL
To view, visit change 48317. To unsubscribe, or for help writing mail filters, visit settings.