From: kernel test robot <lkp@intel.com>
To: Ranjan Kumar <ranjan.kumar@broadcom.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Sathya Prakash <sathya.prakash@broadcom.com>
Subject: drivers/scsi/mpi3mr/mpi3mr_app.c:745: warning: Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_all_hdb'
Date: Sun, 19 Jan 2025 00:19:40 +0800 [thread overview]
Message-ID: <202501190051.Q3spiTYh-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 595523945be0a5a2f12a1c04772383293fbc04a1
commit: d8d08d1638ce1c237ce9c3f14649a3a4cf1b1749 scsi: mpi3mr: Trigger support
date: 7 months ago
config: arc-randconfig-r004-20221209 (https://download.01.org/0day-ci/archive/20250119/202501190051.Q3spiTYh-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 12.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250119/202501190051.Q3spiTYh-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/202501190051.Q3spiTYh-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/scsi/mpi3mr/mpi3mr_app.c:718: warning: Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_hdb'
>> drivers/scsi/mpi3mr/mpi3mr_app.c:745: warning: Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_all_hdb'
vim +745 drivers/scsi/mpi3mr/mpi3mr_app.c
727
728 /**
729 * mpi3mr_set_trigger_data_in_all_hdb - Updates HDB trigger type
730 * and trigger data for all HDB
731 *
732 * @mrioc: Adapter instance reference
733 * @type: Trigger type
734 * @data: Trigger data
735 * @force: Trigger overwrite flag
736 * @trigger_data: Pointer to trigger data information
737 *
738 * Updates trigger type and trigger data based on parameter
739 * passed to this function
740 *
741 * Return: Nothing
742 */
743 void mpi3mr_set_trigger_data_in_all_hdb(struct mpi3mr_ioc *mrioc,
744 u8 type, union mpi3mr_trigger_data *trigger_data, bool force)
> 745 {
746 struct diag_buffer_desc *hdb = NULL;
747
748 hdb = mpi3mr_diag_buffer_for_type(mrioc, MPI3_DIAG_BUFFER_TYPE_TRACE);
749 if (hdb)
750 mpi3mr_set_trigger_data_in_hdb(hdb, type, trigger_data, force);
751 hdb = mpi3mr_diag_buffer_for_type(mrioc, MPI3_DIAG_BUFFER_TYPE_FW);
752 if (hdb)
753 mpi3mr_set_trigger_data_in_hdb(hdb, type, trigger_data, force);
754 }
755
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-01-18 16:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-18 16:19 kernel test robot [this message]
2025-02-08 16:59 kernel test robot
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=202501190051.Q3spiTYh-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ranjan.kumar@broadcom.com \
--cc=sathya.prakash@broadcom.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
Powered by JetHome