lkml.org 
[lkml]   [2021]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: drivers/opp/of.c:842:12: warning: stack frame size of 2064 bytes in function '_of_add_opp_table_v2'
On 07-02-21, 04:09, kernel test robot wrote:
> f47b72a15a9679 drivers/base/power/opp/of.c Viresh Kumar 2016-05-05 841 /* Initializes OPP tables based on new bindings */
> 5ed4cecd75e902 drivers/opp/of.c Viresh Kumar 2018-09-12 @842 static int _of_add_opp_table_v2(struct device *dev, struct opp_table *opp_table)
> f47b72a15a9679 drivers/base/power/opp/of.c Viresh Kumar 2016-05-05 843 {
> f47b72a15a9679 drivers/base/power/opp/of.c Viresh Kumar 2016-05-05 844 struct device_node *np;
> 283d55e68d8a0f drivers/opp/of.c Viresh Kumar 2018-09-07 845 int ret, count = 0, pstate_count = 0;
> 3ba98324e81add drivers/opp/of.c Viresh Kumar 2016-11-18 846 struct dev_pm_opp *opp;

I am not able to figure out why the stack frame warning will shoot off
for this routine, using just pointers, no big allocations on stack..

False positive ?

--
viresh

\
 
 \ /
  Last update: 2021-02-08 06:05    [W:0.073 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site