[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240907154254.4704-1-riyandhiman14@gmail.com>
Date: Sat, 7 Sep 2024 21:12:49 +0530
From: Riyan Dhiman <riyandhiman14@...il.com>
To: Markus.Elfring@....de,
rafael@...nel.org,
viresh.kumar@...aro.org
Cc: linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] cpufreq: mediatek-hw: Fix resource management and error handling in mtk_cpu_resources_init()
>> 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
Powered by blists - more mailing lists