linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-input@vger.kernel.org
Subject: [dtor-input:next 94/110] drivers/input/serio/gscps2.c:221:50: error: 'struct <anonymous>' has no member named 'ste'; did you mean 'str'?
Date: Sat, 19 Oct 2024 22:33:16 +0800	[thread overview]
Message-ID: <202410192242.GL0CoAbv-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
head:   2c19d0159944f3aef1c0ebbd9d7fc6c2523e4307
commit: 44f920069911437dbce84084de02b5cba4ba94f7 [94/110] Input: gscps2 - use guard notation when acquiring spinlock
config: parisc-defconfig (https://download.01.org/0day-ci/archive/20241019/202410192242.GL0CoAbv-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241019/202410192242.GL0CoAbv-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/202410192242.GL0CoAbv-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   drivers/input/serio/gscps2.c: In function 'gscps2_reset':
>> drivers/input/serio/gscps2.c:201:23: warning: unused variable 'flags' [-Wunused-variable]
     201 |         unsigned long flags;
         |                       ^~~~~
   drivers/input/serio/gscps2.c: In function 'gscps2_read_data':
>> drivers/input/serio/gscps2.c:221:50: error: 'struct <anonymous>' has no member named 'ste'; did you mean 'str'?
     221 |                 ps2port->buffer[ps2port->append].ste = status;
         |                                                  ^~~
         |                                                  str


vim +221 drivers/input/serio/gscps2.c

   194	
   195	/*
   196	 * gscps2_reset() - resets the PS/2 port
   197	 */
   198	
   199	static void gscps2_reset(struct gscps2port *ps2port)
   200	{
 > 201		unsigned long flags;
   202	
   203		/* reset the interface */
   204		guard(spinlock_irqsave)(&ps2port->lock);
   205		gscps2_flush(ps2port);
   206		writeb(0xff, ps2port->addr + GSC_RESET);
   207		gscps2_flush(ps2port);
   208	}
   209	
   210	static LIST_HEAD(ps2port_list);
   211	
   212	static void gscps2_read_data(struct gscps2port *ps2port)
   213	{
   214		u8 status;
   215	
   216		do {
   217			status = gscps2_readb_status(ps2port->addr);
   218			if (!(status & GSC_STAT_RBNE))
   219				break;
   220	
 > 221			ps2port->buffer[ps2port->append].ste = status;
   222			ps2port->buffer[ps2port->append].data =
   223					gscps2_readb_input(ps2port->addr);
   224		} while (true);
   225	}
   226	

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

                 reply	other threads:[~2024-10-19 14:33 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=202410192242.GL0CoAbv-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --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).