public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-arm-kernel@lists.infradead.org,
	linux-media@vger.kernel.org, Michal Simek <monstr@monstr.eu>,
	Jonathan Corbet <corbet@lwn.net>
Subject: [xilinx-xlnx:xlnx_rebase_v5.10 1566/1981] fs/pstore/zone.c:39: warning: expecting prototype for struct psz_head. Prototype was for struct psz_buffer instead
Date: Wed, 15 Dec 2021 01:54:46 +0800	[thread overview]
Message-ID: <202112150136.7UyCfGsC-lkp@intel.com> (raw)

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head:   87ec9a2d98a7a7dfc98b57348a0ec310fd170e4b
commit: d3328cb2dd0a2fb94a09587105c37299e296d4c6 [1566/1981] scripts: kernel-doc: validate kernel-doc markup with the actual names
config: x86_64-randconfig-a011-20211214 (https://download.01.org/0day-ci/archive/20211215/202112150136.7UyCfGsC-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a2ddb6c8ac29412b1361810972e15221fa021c)
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
        # https://github.com/Xilinx/linux-xlnx/commit/d3328cb2dd0a2fb94a09587105c37299e296d4c6
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.10
        git checkout d3328cb2dd0a2fb94a09587105c37299e296d4c6
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/pstore/

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 >>):

>> fs/pstore/zone.c:39: warning: expecting prototype for struct psz_head. Prototype was for struct psz_buffer instead


vim +39 fs/pstore/zone.c

d26c3321fe18dc WeiXiong Liao 2020-03-25  24  
d26c3321fe18dc WeiXiong Liao 2020-03-25  25  /**
d26c3321fe18dc WeiXiong Liao 2020-03-25  26   * struct psz_head - header of zone to flush to storage
d26c3321fe18dc WeiXiong Liao 2020-03-25  27   *
d26c3321fe18dc WeiXiong Liao 2020-03-25  28   * @sig: signature to indicate header (PSZ_SIG xor PSZONE-type value)
d26c3321fe18dc WeiXiong Liao 2020-03-25  29   * @datalen: length of data in @data
0dc068265a1c59 WeiXiong Liao 2020-03-25  30   * @start: offset into @data where the beginning of the stored bytes begin
d26c3321fe18dc WeiXiong Liao 2020-03-25  31   * @data: zone data.
d26c3321fe18dc WeiXiong Liao 2020-03-25  32   */
d26c3321fe18dc WeiXiong Liao 2020-03-25  33  struct psz_buffer {
d26c3321fe18dc WeiXiong Liao 2020-03-25  34  #define PSZ_SIG (0x43474244) /* DBGC */
d26c3321fe18dc WeiXiong Liao 2020-03-25  35  	uint32_t sig;
d26c3321fe18dc WeiXiong Liao 2020-03-25  36  	atomic_t datalen;
0dc068265a1c59 WeiXiong Liao 2020-03-25  37  	atomic_t start;
d26c3321fe18dc WeiXiong Liao 2020-03-25  38  	uint8_t data[];
d26c3321fe18dc WeiXiong Liao 2020-03-25 @39  };
d26c3321fe18dc WeiXiong Liao 2020-03-25  40  

:::::: The code at line 39 was first introduced by commit
:::::: d26c3321fe18dc74517dc1f518d584aa33b0a851 pstore/zone: Introduce common layer to manage storage zones

:::::: TO: WeiXiong Liao <liaoweixiong@allwinnertech.com>
:::::: CC: Kees Cook <keescook@chromium.org>

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

                 reply	other threads:[~2021-12-14 17:55 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=202112150136.7UyCfGsC-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=corbet@lwn.net \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-media@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=mchehab@kernel.org \
    --cc=monstr@monstr.eu \
    /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