All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Julia Lawall <julia.lawall@inria.fr>
Subject: [android-common:android14-6.1 0/1] fs/smb/client/smb2ops.c:1411:13-22: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
Date: Sun, 25 Oct 2026 01:10:09 +0200	[thread overview]
Message-ID: <202610250131.R2XQJd1S-lkp@intel.com> (raw)

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: cros-kernel-buildreports@googlegroups.com

tree:   https://android.googlesource.com/kernel/common android14-6.1
head:   2f0d864181b9acf801e9b51c345e11b6156b767a
commit: 29429a1f5871dbe54ee0da81bb12db8567f15379 [0/1] smb: move client and server files to common directory fs/smb
:::::: branch date: 12 hours ago
:::::: commit date: 3 years, 4 months ago
config: i386-randconfig-2101-20261024 (https://download.01.org/0day-ci/archive/20261025/202610250131.R2XQJd1S-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202610250131.R2XQJd1S-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> fs/smb/client/smb2ops.c:1411:13-22: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)

vim +1411 fs/smb/client/smb2ops.c

41c1358e9181ab fs/cifs/smb2ops.c Steve French    2013-11-14  1403  
b2ca6c2c9eddc4 fs/cifs/smb2ops.c Ronnie Sahlberg 2020-05-21  1404  struct iqi_vars {
b2ca6c2c9eddc4 fs/cifs/smb2ops.c Ronnie Sahlberg 2020-05-21  1405  	struct smb_rqst rqst[3];
b2ca6c2c9eddc4 fs/cifs/smb2ops.c Ronnie Sahlberg 2020-05-21  1406  	struct kvec rsp_iov[3];
b2ca6c2c9eddc4 fs/cifs/smb2ops.c Ronnie Sahlberg 2020-05-21  1407  	struct kvec open_iov[SMB2_CREATE_IOV_SIZE];
b2ca6c2c9eddc4 fs/cifs/smb2ops.c Ronnie Sahlberg 2020-05-21  1408  	struct kvec qi_iov[1];
b2ca6c2c9eddc4 fs/cifs/smb2ops.c Ronnie Sahlberg 2020-05-21  1409  	struct kvec io_iov[SMB2_IOCTL_IOV_SIZE];
b2ca6c2c9eddc4 fs/cifs/smb2ops.c Ronnie Sahlberg 2020-05-21  1410  	struct kvec si_iov[SMB2_SET_INFO_IOV_SIZE];
b2ca6c2c9eddc4 fs/cifs/smb2ops.c Ronnie Sahlberg 2020-05-21 @1411  	struct kvec close_iov[1];
b2ca6c2c9eddc4 fs/cifs/smb2ops.c Ronnie Sahlberg 2020-05-21  1412  };
b2ca6c2c9eddc4 fs/cifs/smb2ops.c Ronnie Sahlberg 2020-05-21  1413  

:::::: The code at line 1411 was first introduced by commit
:::::: b2ca6c2c9eddc41c09e49e8e83f8208bd80fdb8e cifs: move some variables off the stack in smb2_ioctl_query_info

:::::: TO: Ronnie Sahlberg <lsahlber@redhat.com>
:::::: CC: Steve French <stfrench@microsoft.com>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-10-24 23:10 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=202610250131.R2XQJd1S-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=julia.lawall@inria.fr \
    --cc=oe-kbuild@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.