[PATCH v2] cpufreq: mediatek: Fix potential deadlock problem in mtk_cpufreq_set_target

Rex-BC Chen rex-bc.chen at mediatek.com
Tue May 10 04:23:49 PDT 2022


On Tue, 2022-05-10 at 14:58 +0530, Viresh Kumar wrote:
> On 10-05-22, 17:23, Jiabing Wan wrote:
> > 
> > 
> > On 2022/5/10 17:12, Viresh Kumar wrote:
> > > On 10-05-22, 17:05, Wan Jiabing wrote:
> > > > Fix following coccichek error:
> > > > ./drivers/cpufreq/mediatek-cpufreq.c:199:2-8: preceding lock on
> > > > line
> > > > ./drivers/cpufreq/mediatek-cpufreq.c:208:2-8: preceding lock on
> > > > line
> > > > 
> > > > mutex_lock is acquired but not released before return.
> > > > Use 'goto out' to help releasing the mutex_lock.
> > > > 
> > > > Fixes: c210063b40ac ("cpufreq: mediatek: Add opp notification
> > > > support")
> > > > Signed-off-by: Wan Jiabing <wanjiabing at vivo.com>
> > > 
> > > You should have added the review tag you received.
> > > 
> > > Applied. Thanks.
> > 
> > Oh, yes.  I would add the "Reviewed-by:" tag only if someone sends
> > this tag to me.
> 
> Didn't you get this ?
> 
> 
https://lore.kernel.org/linux-mediatek/304e7eefbb57e9c938737b64fbb515201c7944b8.camel@mediatek.com/
> 
> Rex, are you subscribed to LKML ? You can't send an email there
> without
> subscription. I don't see this email on LKML lore.
> 

Hello Viresh,

I am not sure what's the problem.
But I subscribed the linux-arm-kernel mailing list and linux-mediatek.

As for LKML, do you mean subscribe "List: linux-kernel;" in [1]?

[1]: http://vger.kernel.org/vger-lists.html

BRs,
Rex




More information about the linux-arm-kernel mailing list