Re: [PATCH 1/3] drm/xe: use devm_add_action_or_reset() helper

2024-09-11 Thread HeLuang
在 2024/9/11 02:57, Rodrigo Vivi 写道: On Sat, Sep 07, 2024 at 02:54:39PM +0800, He Lugang wrote: Use devm_add_action_or_reset() to release resources in case of failure, because the cleanup function will be automatically called. Signed-off-by: He Lugang --- drivers/gpu/drm/xe/xe_gt_freq.c |

Re: [PATCH 1/3] drm/xe: use devm_add_action_or_reset() helper

2024-09-10 Thread Rodrigo Vivi
On Sat, Sep 07, 2024 at 02:54:39PM +0800, He Lugang wrote: > Use devm_add_action_or_reset() to release resources in case of failure, > because the cleanup function will be automatically called. > > Signed-off-by: He Lugang > --- > drivers/gpu/drm/xe/xe_gt_freq.c | 2 +- > drivers/gpu/drm/xe/xe_

Re: [PATCH 1/3] drm/xe: use devm_add_action_or_reset() helper

2024-09-07 Thread HeLuang
sorry pls just pass over this email. -- Sincerely, Lugang 在 2024/9/7 14:51, He Lugang 写道: Use devm_add_action_or_reset() to release resources in case of failure, because the cleanup function will be automatically called. Signed-off-by: He Lugang --- drivers/gpu/drm/xe/xe_gt_freq.c | 2 +-

Re: [PATCH 1/3] drm/xe: use devm_add_action_or_reset() helper

2024-09-07 Thread HeLuang
sorry, pls just pass over this email. Best Regards, Lugang 在 2024/9/7 14:51, He Lugang 写道: Use devm_add_action_or_reset() to release resources in case of failure, because the cleanup function will be automatically called. Signed-off-by: He Lugang --- drivers/gpu/drm/xe/xe_gt_freq.c | 2

[PATCH 1/3] drm/xe: use devm_add_action_or_reset() helper

2024-09-06 Thread He Lugang
Use devm_add_action_or_reset() to release resources in case of failure, because the cleanup function will be automatically called. Signed-off-by: He Lugang --- drivers/gpu/drm/xe/xe_gt_freq.c | 2 +- drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 1/3] drm/xe: use devm_add_action_or_reset() helper

2024-09-06 Thread He Lugang
Use devm_add_action_or_reset() to release resources in case of failure, because the cleanup function will be automatically called. Signed-off-by: He Lugang --- drivers/gpu/drm/xe/xe_gt_freq.c | 2 +- drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff