Message ID | 1623223350-128104-1-git-send-email-yang.lee@linux.alibaba.com |
---|---|
State | Accepted |
Commit | 8b2ea897328c3e042ef7c3e80503c802db24a678 |
Headers | show |
Series | [v2] thermal: devfreq_cooling: Fix kernel-doc | expand |
On 6/9/21 8:22 AM, Yang Li wrote: > Fix function name in devfreq_cooling.c comment to remove a > warning found by kernel-doc. > > drivers/thermal/devfreq_cooling.c:479: warning: expecting prototype for > devfreq_cooling_em_register_power(). Prototype was for > devfreq_cooling_em_register() instead. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> > Reviewed-by: Nathan Chancellor <nathan@kernel.org> Everything was said regarding these Reviewed-by tags and you got them in this thread, so should be OK Thank you Nathan and Nick for explaining this and sorting out. Small hint for next time, the Signed-off-by should be at the bottom of that list. > --- > > Change in v2: > --replaced s/clang(make W=1 LLVM=1)/kernel-doc/ in commit. > https://lore.kernel.org/patchwork/patch/1442639/ > > drivers/thermal/devfreq_cooling.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/thermal/devfreq_cooling.c b/drivers/thermal/devfreq_cooling.c > index 3a788ac..5a86cff 100644 > --- a/drivers/thermal/devfreq_cooling.c > +++ b/drivers/thermal/devfreq_cooling.c > @@ -458,7 +458,7 @@ struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df) > EXPORT_SYMBOL_GPL(devfreq_cooling_register); > > /** > - * devfreq_cooling_em_register_power() - Register devfreq cooling device with > + * devfreq_cooling_em_register() - Register devfreq cooling device with > * power information and automatically register Energy Model (EM) > * @df: Pointer to devfreq device. > * @dfc_power: Pointer to devfreq_cooling_power. > Apart from that, the change itself is OK. I forgot about this comment function name in some iteration... my apologies for that. LGTM Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Regards, Lukasz Luba
diff --git a/drivers/thermal/devfreq_cooling.c b/drivers/thermal/devfreq_cooling.c index 3a788ac..5a86cff 100644 --- a/drivers/thermal/devfreq_cooling.c +++ b/drivers/thermal/devfreq_cooling.c @@ -458,7 +458,7 @@ struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df) EXPORT_SYMBOL_GPL(devfreq_cooling_register); /** - * devfreq_cooling_em_register_power() - Register devfreq cooling device with + * devfreq_cooling_em_register() - Register devfreq cooling device with * power information and automatically register Energy Model (EM) * @df: Pointer to devfreq device. * @dfc_power: Pointer to devfreq_cooling_power.