From: kernel test robot <lkp@intel.com>
To: Serge Semin <fancer.lancer@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: drivers/tty/mips_ejtag_fdc.c:685: warning: Excess function parameter 'opaque' description in 'mips_ejtag_fdc_tty_timer'
Date: Tue, 17 Dec 2024 19:52:05 +0800 [thread overview]
Message-ID: <202412172203.6IUAS30l-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f44d154d6e3d633d4c49a5d6aed8a0e4684ae25e
commit: 188942f05ce45f80c06f7242ad7478bd204c3387 tty: mips_ejtag_fdc: Fix passing incompatible pointer type warning
date: 10 months ago
config: mips-randconfig-r071-20241215 (https://download.01.org/0day-ci/archive/20241217/202412172203.6IUAS30l-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 2dc22615fd46ab2566d0f26d5ba234ab12dc4bf8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241217/202412172203.6IUAS30l-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/202412172203.6IUAS30l-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/tty/mips_ejtag_fdc.c:685: warning: Function parameter or struct member 't' not described in 'mips_ejtag_fdc_tty_timer'
>> drivers/tty/mips_ejtag_fdc.c:685: warning: Excess function parameter 'opaque' description in 'mips_ejtag_fdc_tty_timer'
vim +685 drivers/tty/mips_ejtag_fdc.c
4cebec609aea6d James Hogan 2015-01-29 673
4cebec609aea6d James Hogan 2015-01-29 674 /**
4cebec609aea6d James Hogan 2015-01-29 675 * mips_ejtag_fdc_tty_timer() - Poll FDC for incoming data.
4cebec609aea6d James Hogan 2015-01-29 676 * @opaque: Pointer to driver private data.
4cebec609aea6d James Hogan 2015-01-29 677 *
4cebec609aea6d James Hogan 2015-01-29 678 * This is the timer handler for when interrupts are disabled and polling the
4cebec609aea6d James Hogan 2015-01-29 679 * FDC state is required.
4cebec609aea6d James Hogan 2015-01-29 680 *
4cebec609aea6d James Hogan 2015-01-29 681 * It simply triggers the common FDC handler code and arranges for further
4cebec609aea6d James Hogan 2015-01-29 682 * polling.
4cebec609aea6d James Hogan 2015-01-29 683 */
75d1760f4cd1b2 Kees Cook 2017-10-16 684 static void mips_ejtag_fdc_tty_timer(struct timer_list *t)
4cebec609aea6d James Hogan 2015-01-29 @685 {
75d1760f4cd1b2 Kees Cook 2017-10-16 686 struct mips_ejtag_fdc_tty *priv = from_timer(priv, t, poll_timer);
4cebec609aea6d James Hogan 2015-01-29 687
4cebec609aea6d James Hogan 2015-01-29 688 mips_ejtag_fdc_handle(priv);
4cebec609aea6d James Hogan 2015-01-29 689 if (!priv->removing)
853f90d49bbabc Thomas Gleixner 2016-07-04 690 mod_timer(&priv->poll_timer, jiffies + FDC_TTY_POLL);
4cebec609aea6d James Hogan 2015-01-29 691 }
4cebec609aea6d James Hogan 2015-01-29 692
:::::: The code at line 685 was first introduced by commit
:::::: 4cebec609aea6dff23e67a42b6516d852fa87d07 TTY: Add MIPS EJTAG Fast Debug Channel TTY driver
:::::: TO: James Hogan <james.hogan@imgtec.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-12-17 11:52 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=202412172203.6IUAS30l-lkp@intel.com \
--to=lkp@intel.com \
--cc=fancer.lancer@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tsbogend@alpha.franken.de \
/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