llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [asahilinux:bits/090-spi-hid 7/21] drivers/hid/hid-magicmouse.c:157: warning: Function parameter or struct member 'input_ops' not described in 'magicmouse_sc'
@ 2024-01-25  7:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-25  7:49 UTC (permalink / raw)
  To: Janne Grunau; +Cc: llvm, oe-kbuild-all, Hector Martin

tree:   https://github.com/AsahiLinux/linux bits/090-spi-hid
head:   253645613d55bc9e62bb0b1811d009cd987f301f
commit: 991d9692ce457f94c749787fbf2d2f2bd8bb7bf1 [7/21] HID: magicmouse: use ops function pointers for input functionality
config: i386-buildonly-randconfig-005-20240124 (https://download.01.org/0day-ci/archive/20240125/202401251544.xpxFx8Dj-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240125/202401251544.xpxFx8Dj-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/202401251544.xpxFx8Dj-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/hid/hid-magicmouse.c:157: warning: Function parameter or struct member 'pos' not described in 'magicmouse_sc'
   drivers/hid/hid-magicmouse.c:157: warning: Function parameter or struct member 'hdev' not described in 'magicmouse_sc'
   drivers/hid/hid-magicmouse.c:157: warning: Function parameter or struct member 'work' not described in 'magicmouse_sc'
   drivers/hid/hid-magicmouse.c:157: warning: Function parameter or struct member 'battery_timer' not described in 'magicmouse_sc'
>> drivers/hid/hid-magicmouse.c:157: warning: Function parameter or struct member 'input_ops' not described in 'magicmouse_sc'


vim +157 drivers/hid/hid-magicmouse.c

991d9692ce457f Janne Grunau  2021-12-16  122  
128537cea464d9 Michael Poole 2010-02-06  123  /**
128537cea464d9 Michael Poole 2010-02-06  124   * struct magicmouse_sc - Tracks Magic Mouse-specific data.
128537cea464d9 Michael Poole 2010-02-06  125   * @input: Input device through which we report events.
128537cea464d9 Michael Poole 2010-02-06  126   * @quirks: Currently unused.
128537cea464d9 Michael Poole 2010-02-06  127   * @ntouches: Number of touches in most recent touch report.
128537cea464d9 Michael Poole 2010-02-06  128   * @scroll_accel: Number of consecutive scroll motions.
128537cea464d9 Michael Poole 2010-02-06  129   * @scroll_jiffies: Time of last scroll motion.
128537cea464d9 Michael Poole 2010-02-06  130   * @touches: Most recent data for a touch, indexed by tracking ID.
128537cea464d9 Michael Poole 2010-02-06  131   * @tracking_ids: Mapping of current touch input data to @touches.
128537cea464d9 Michael Poole 2010-02-06  132   */
128537cea464d9 Michael Poole 2010-02-06  133  struct magicmouse_sc {
128537cea464d9 Michael Poole 2010-02-06  134  	struct input_dev *input;
128537cea464d9 Michael Poole 2010-02-06  135  	unsigned long quirks;
128537cea464d9 Michael Poole 2010-02-06  136  
128537cea464d9 Michael Poole 2010-02-06  137  	int ntouches;
128537cea464d9 Michael Poole 2010-02-06  138  	int scroll_accel;
128537cea464d9 Michael Poole 2010-02-06  139  	unsigned long scroll_jiffies;
128537cea464d9 Michael Poole 2010-02-06  140  
089b2bcdbc5e12 Janne Grunau  2021-12-16  141  	struct input_mt_pos pos[MAX_CONTACTS];
128537cea464d9 Michael Poole 2010-02-06  142  	struct {
c04266889b5911 Chase Douglas 2010-06-20  143  		short scroll_x;
128537cea464d9 Michael Poole 2010-02-06  144  		short scroll_y;
d4b9f10a0eb64c José Expósito 2021-07-07  145  		short scroll_x_hr;
d4b9f10a0eb64c José Expósito 2021-07-07  146  		short scroll_y_hr;
128537cea464d9 Michael Poole 2010-02-06  147  		u8 size;
9d60648c607a2b José Expósito 2021-07-07  148  		bool scroll_x_active;
9d60648c607a2b José Expósito 2021-07-07  149  		bool scroll_y_active;
8aff5a2106ccfe Janne Grunau  2021-12-16  150  	} touches[MAX_CONTACTS];
8aff5a2106ccfe Janne Grunau  2021-12-16  151  	int tracking_ids[MAX_CONTACTS];
c0dc5582812dfa John Chen     2021-03-30  152  
c0dc5582812dfa John Chen     2021-03-30  153  	struct hid_device *hdev;
c0dc5582812dfa John Chen     2021-03-30  154  	struct delayed_work work;
0b91b4e4dae63c José Expósito 2021-11-18  155  	struct timer_list battery_timer;
991d9692ce457f Janne Grunau  2021-12-16  156  	struct magicmouse_input_ops input_ops;
128537cea464d9 Michael Poole 2010-02-06 @157  };
128537cea464d9 Michael Poole 2010-02-06  158  

:::::: The code at line 157 was first introduced by commit
:::::: 128537cea464d919febeaea2000e256749f317eb HID: add a device driver for the Apple Magic Mouse.

:::::: TO: Michael Poole <mdpoole@troilus.org>
:::::: CC: Jiri Kosina <jkosina@suse.cz>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-25  7:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-25  7:49 [asahilinux:bits/090-spi-hid 7/21] drivers/hid/hid-magicmouse.c:157: warning: Function parameter or struct member 'input_ops' not described in 'magicmouse_sc' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).