Re: [PATCH 3/6] drm: Refactor drm_core_init error path

2024-09-22 Thread Dmitry Baryshkov
On Sun, Sep 08, 2024 at 02:10:30PM GMT, Heiner Kallweit wrote: > These changes make the error path a little more robust, because exit > steps in drm_core_exit() don't have to ensure any longer that they > work properly even if the associated init step wasn't executed. Please use imperative style w

[PATCH 3/6] drm: Refactor drm_core_init error path

2024-09-08 Thread Heiner Kallweit
These changes make the error path a little more robust, because exit steps in drm_core_exit() don't have to ensure any longer that they work properly even if the associated init step wasn't executed. In addition these changes allow to annotate a few functions as __exit, saving some memory if drm is