llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Janne Grunau <j@jannau.net>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Hector Martin <marcan@marcan.st>
Subject: [asahilinux:bits/090-spi-hid 8/21] drivers/hid/hid-magicmouse.c:570: warning: Excess struct member 'crc16' description in 'tp_finger'
Date: Fri, 26 Jan 2024 01:10:26 +0800	[thread overview]
Message-ID: <202401260106.VKth8fll-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-01-25 17:11 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=202401260106.VKth8fll-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=j@jannau.net \
    --cc=llvm@lists.linux.dev \
    --cc=marcan@marcan.st \
    --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;
as well as URLs for NNTP newsgroup(s).