tree:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
linux-5.4.y
head: 28fe0e171c2042692c2cf71df3e8cb4ad78d40da
commit: e2dca8845c37923200751b9b3f87d6d7320dc07f [2956/3216] cifs: handle -EINTR in
cifs_setattr
config: mips-randconfig-r012-20201113 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
9e0c35655b6e8186baef8840b26ba4090503b554)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gi...
git remote add linux-stable-rc
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.4.y
git checkout e2dca8845c37923200751b9b3f87d6d7320dc07f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> fs/cifs/inode.c:2613:1: warning: stack frame size of 1032 bytes
in function 'cifs_setattr' [-Wframe-larger-than=]
cifs_setattr(struct
dentry *direntry, struct iattr *attrs)
^
1 warning generated.
vim +/cifs_setattr +2613 fs/cifs/inode.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 2611
0510eeb7367aca0 Jeff Layton 2008-08-02 2612 int
0510eeb7367aca0 Jeff Layton 2008-08-02 @2613 cifs_setattr(struct dentry *direntry,
struct iattr *attrs)
0510eeb7367aca0 Jeff Layton 2008-08-02 2614 {
fc64005c93090c0 Al Viro 2016-04-10 2615 struct cifs_sb_info *cifs_sb =
CIFS_SB(direntry->d_sb);
96daf2b09178d8e Steve French 2011-05-27 2616 struct cifs_tcon *pTcon =
cifs_sb_master_tcon(cifs_sb);
e2dca8845c37923 Ronnie Sahlberg 2020-10-09 2617 int rc, retries = 0;
0510eeb7367aca0 Jeff Layton 2008-08-02 2618
e2dca8845c37923 Ronnie Sahlberg 2020-10-09 2619 do {
0510eeb7367aca0 Jeff Layton 2008-08-02 2620 if (pTcon->unix_ext)
e2dca8845c37923 Ronnie Sahlberg 2020-10-09 2621 rc = cifs_setattr_unix(direntry,
attrs);
e2dca8845c37923 Ronnie Sahlberg 2020-10-09 2622 else
e2dca8845c37923 Ronnie Sahlberg 2020-10-09 2623 rc = cifs_setattr_nounix(direntry,
attrs);
e2dca8845c37923 Ronnie Sahlberg 2020-10-09 2624 retries++;
e2dca8845c37923 Ronnie Sahlberg 2020-10-09 2625 } while (is_retryable_error(rc)
&& retries < 2);
0510eeb7367aca0 Jeff Layton 2008-08-02 2626
0510eeb7367aca0 Jeff Layton 2008-08-02 2627 /* BB: add cifs_setattr_legacy for
really old servers */
e2dca8845c37923 Ronnie Sahlberg 2020-10-09 2628 return rc;
0510eeb7367aca0 Jeff Layton 2008-08-02 2629 }
0510eeb7367aca0 Jeff Layton 2008-08-02 2630
:::::: The code at line 2613 was first introduced by commit
:::::: 0510eeb7367aca017c6320d04cfd9cbc3b5dd992 turn cifs_setattr into a multiplexor that
calls the correct function
:::::: TO: Jeff Layton <jlayton(a)redhat.com>
:::::: CC: Steve French <sfrench(a)us.ibm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org