mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Min Li <min.li.xe@renesas.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org, Jakub Kicinski <kuba@kernel.org>
Subject: drivers/ptp/ptp_clockmatrix.c:809:12: warning: stack frame size of 18560 bytes in function '_idtcm_settime_deprecated'
Date: Fri, 18 Jun 2021 19:42:31 +0800	[thread overview]
Message-ID: <202106181927.oK9wOPl8-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-06-18 11:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202106181927.oK9wOPl8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=min.li.xe@renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®