lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210208050045.zjm2s27ye7cxgfxq@vireshk-i7>
Date:   Mon, 8 Feb 2021 10:30:45 +0530
From:   Viresh Kumar <viresh.kumar@...aro.org>
To:     kernel test robot <lkp@...el.com>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org
Subject: Re: 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ