linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/ptp/ptp_clockmatrix.c:809:12: warning: stack frame size of 18560 bytes in function '_idtcm_settime_deprecated'
@ 2021-06-18 11:42 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-18 11:42 UTC (permalink / raw)
  To: Min Li; +Cc: kbuild-all, clang-built-linux, linux-kernel, Jakub Kicinski

[-- Attachment #1: Type: text/plain, Size: 2470 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36734 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-18 11:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18 11:42 drivers/ptp/ptp_clockmatrix.c:809:12: warning: stack frame size of 18560 bytes in function '_idtcm_settime_deprecated' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).