From: kernel test robot <lkp@intel.com>
To: Kees Cook <keescook@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Justin Stitt <justinstitt@google.com>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>
Subject: drivers/mailbox/zynqmp-ipi-mailbox.c:112: warning: Excess struct member 'ipi_mboxes' description in 'zynqmp_ipi_pdata'
Date: Fri, 15 Dec 2023 07:25:31 +0800 [thread overview]
Message-ID: <202312150705.glrQ4ypv-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c7402612e2e61b76177f22e6e7f705adcbecc6fe
commit: c5225cd073c65a6d7e8e311ec0114792a671982a mailbox: zynqmp: Annotate struct zynqmp_ipi_pdata with __counted_by
date: 10 weeks ago
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20231215/202312150705.glrQ4ypv-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231215/202312150705.glrQ4ypv-lkp@intel.com/reproduce)
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>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312150705.glrQ4ypv-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/mailbox/zynqmp-ipi-mailbox.c:92: warning: Excess struct member 'irq' description in 'zynqmp_ipi_mbox'
>> drivers/mailbox/zynqmp-ipi-mailbox.c:112: warning: Excess struct member 'ipi_mboxes' description in 'zynqmp_ipi_pdata'
vim +112 drivers/mailbox/zynqmp-ipi-mailbox.c
4981b82ba2ff87 Wendy Liang 2019-02-21 93
4981b82ba2ff87 Wendy Liang 2019-02-21 94 /**
4981b82ba2ff87 Wendy Liang 2019-02-21 95 * struct zynqmp_ipi_pdata - Description of z ZynqMP IPI agent platform data.
4981b82ba2ff87 Wendy Liang 2019-02-21 96 *
4981b82ba2ff87 Wendy Liang 2019-02-21 97 * @dev: device pointer corresponding to the Xilinx ZynqMP
4981b82ba2ff87 Wendy Liang 2019-02-21 98 * IPI agent
4981b82ba2ff87 Wendy Liang 2019-02-21 99 * @irq: IPI agent interrupt ID
4981b82ba2ff87 Wendy Liang 2019-02-21 100 * @method: IPI SMC or HVC is going to be used
4981b82ba2ff87 Wendy Liang 2019-02-21 101 * @local_id: local IPI agent ID
4981b82ba2ff87 Wendy Liang 2019-02-21 102 * @num_mboxes: number of mailboxes of this IPI agent
4981b82ba2ff87 Wendy Liang 2019-02-21 103 * @ipi_mboxes: IPI mailboxes of this IPI agent
4981b82ba2ff87 Wendy Liang 2019-02-21 104 */
4981b82ba2ff87 Wendy Liang 2019-02-21 105 struct zynqmp_ipi_pdata {
4981b82ba2ff87 Wendy Liang 2019-02-21 106 struct device *dev;
4981b82ba2ff87 Wendy Liang 2019-02-21 107 int irq;
4981b82ba2ff87 Wendy Liang 2019-02-21 108 unsigned int method;
4981b82ba2ff87 Wendy Liang 2019-02-21 109 u32 local_id;
4981b82ba2ff87 Wendy Liang 2019-02-21 110 int num_mboxes;
c5225cd073c65a Kees Cook 2023-09-22 111 struct zynqmp_ipi_mbox ipi_mboxes[] __counted_by(num_mboxes);
4981b82ba2ff87 Wendy Liang 2019-02-21 @112 };
4981b82ba2ff87 Wendy Liang 2019-02-21 113
:::::: The code at line 112 was first introduced by commit
:::::: 4981b82ba2ff87df6a711fcd7a233c615df5fc79 mailbox: ZynqMP IPI mailbox controller
:::::: TO: Wendy Liang <wendy.liang@xilinx.com>
:::::: CC: Jassi Brar <jaswinder.singh@linaro.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-12-14 23:26 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=202312150705.glrQ4ypv-lkp@intel.com \
--to=lkp@intel.com \
--cc=gustavoars@kernel.org \
--cc=justinstitt@google.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox