lkml.org 
[lkml]   [2018]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [PATCH v4] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.
From
Date
>+		if (!strncmp(name, DEVFREQ_GOV_SIMPLE_ONDEMAND,
>+ DEVFREQ_NAME_LEN))
>+ err = request_module("governor_%s", "simpleondemand");
>+ else
>+ err = request_module("governor_%s", name);
>+ if (err)
>+ return NULL;

You are returning without the lock acquired..

\
 
 \ /
  Last update: 2018-07-04 03:00    [W:0.084 / U:1.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site