* [asahilinux:bits/090-spi-hid 8/21] drivers/hid/hid-magicmouse.c:570: warning: Excess struct member 'crc16' description in 'tp_finger'
@ 2024-01-25 17:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-25 17:10 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: c09e6b2eb869c1427a5991a82e4357c2ab5271d7 [8/21] HID: magicmouse: add support for Macbook trackpads
config: i386-buildonly-randconfig-005-20240124 (https://download.01.org/0day-ci/archive/20240126/202401260106.VKth8fll-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/20240126/202401260106.VKth8fll-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/202401260106.VKth8fll-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/hid/hid-magicmouse.c:169: warning: Function parameter or struct member 'pos' not described in 'magicmouse_sc'
drivers/hid/hid-magicmouse.c:169: warning: Function parameter or struct member 'hdev' not described in 'magicmouse_sc'
drivers/hid/hid-magicmouse.c:169: warning: Function parameter or struct member 'work' not described in 'magicmouse_sc'
drivers/hid/hid-magicmouse.c:169: warning: Function parameter or struct member 'battery_timer' not described in 'magicmouse_sc'
drivers/hid/hid-magicmouse.c:169: warning: Function parameter or struct member 'input_ops' not described in 'magicmouse_sc'
>> drivers/hid/hid-magicmouse.c:570: warning: Excess struct member 'crc16' description in 'tp_finger'
drivers/hid/hid-magicmouse.c:592: warning: expecting prototype for struct trackpad. Prototype was for struct tp_header instead
vim +570 drivers/hid/hid-magicmouse.c
533
534 /**
535 * struct tp_finger - single trackpad finger structure, le16-aligned
536 *
537 * @unknown1: unknown
538 * @unknown2: unknown
539 * @abs_x: absolute x coordinate
540 * @abs_y: absolute y coordinate
541 * @rel_x: relative x coordinate
542 * @rel_y: relative y coordinate
543 * @tool_major: tool area, major axis
544 * @tool_minor: tool area, minor axis
545 * @orientation: 16384 when point, else 15 bit angle
546 * @touch_major: touch area, major axis
547 * @touch_minor: touch area, minor axis
548 * @unused: zeros
549 * @pressure: pressure on forcetouch touchpad
550 * @multi: one finger: varies, more fingers: constant
551 * @crc16: on last finger: crc over the whole message struct
552 * (i.e. message header + this struct) minus the last
553 * @crc16 field; unknown on all other fingers.
554 */
555 struct tp_finger {
556 __le16 unknown1;
557 __le16 unknown2;
558 __le16 abs_x;
559 __le16 abs_y;
560 __le16 rel_x;
561 __le16 rel_y;
562 __le16 tool_major;
563 __le16 tool_minor;
564 __le16 orientation;
565 __le16 touch_major;
566 __le16 touch_minor;
567 __le16 unused[2];
568 __le16 pressure;
569 __le16 multi;
> 570 } __attribute__((packed, aligned(2)));
571
--
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 17:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-25 17:10 [asahilinux:bits/090-spi-hid 8/21] drivers/hid/hid-magicmouse.c:570: warning: Excess struct member 'crc16' description in 'tp_finger' 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).