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>] [day] [month] [year] [list]
Message-ID: <202106181927.oK9wOPl8-lkp@intel.com>
Date:   Fri, 18 Jun 2021 19:42:31 +0800
From:   kernel test robot <lkp@...el.com>
To:     Min Li <min.li.xe@...esas.com>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>
Subject: drivers/ptp/ptp_clockmatrix.c:809:12: warning: stack frame size of
 18560 bytes in function '_idtcm_settime_deprecated'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fd0aa1a4567d0f09e1bfe367a950b004f99ac290
commit: da9482332d581bb8ea69eca34d7f75a3c6247475 ptp: clockmatrix: deprecate firmware older than 4.8.7
date:   6 months ago
config: riscv-randconfig-r036-20210618 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=da9482332d581bb8ea69eca34d7f75a3c6247475
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout da9482332d581bb8ea69eca34d7f75a3c6247475
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   drivers/ptp/ptp_clockmatrix.c:2205:12: warning: stack frame size of 17920 bytes in function 'idtcm_probe' [-Wframe-larger-than=]
   static int idtcm_probe(struct i2c_client *client,
              ^
>> drivers/ptp/ptp_clockmatrix.c:809:12: warning: stack frame size of 18560 bytes in function '_idtcm_settime_deprecated' [-Wframe-larger-than=]
   static int _idtcm_settime_deprecated(struct idtcm_channel *channel,
              ^
   2 warnings generated.


vim +/_idtcm_settime_deprecated +809 drivers/ptp/ptp_clockmatrix.c

   808	
 > 809	static int _idtcm_settime_deprecated(struct idtcm_channel *channel,
   810					     struct timespec64 const *ts)
   811	{
   812		struct idtcm *idtcm = channel->idtcm;
   813		int err;
   814	
   815		err = _idtcm_set_dpll_hw_tod(channel, ts, HW_TOD_WR_TRIG_SEL_MSB);
   816	
   817		if (err) {
   818			dev_err(&idtcm->client->dev,
   819				"%s: Set HW ToD failed\n", __func__);
   820			return err;
   821		}
   822	
   823		return idtcm_sync_pps_output(channel);
   824	}
   825	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (36734 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ