[PATCH] cpufreq: mediatek-hw: Fix resource management and error handling in mtk_cpu_resources_init()
From: Riyan Dhiman
Date: Sat Sep 07 2024 - 11:43:09 EST
>> Memory region and IO memory were not released if mtk_cpu_create_freq_table() failed.
>> Added error handling to ensure that IO memory is unmapped and the memory region is
>> released properly to prevent resource leaks and ensure all resources are cleaned up on error.
>
> * Would you like to improve such a change description another bit
Should I elaborate a little more on the issue and explain the fix I have created?
> also according to other line length preferences?
Can you please help me a little bit about this? Is it the character lenght of subject?
should I change it to: cpufreq: mediatek: Fix resource leaks on mtk_cpu_create_freq_table()
failure.
> * How do you think about to add any tags (like "Fixes" and "Cc") accordingly?
Should I change "patch" in subject to "Fixes" or add commit id in the patch message with
fixes tag? Also, whom should add I in cc since I can't find any other email from get_maintainer
script.
Regards,
Riyan Dhiman