* [dtor-input:next 94/110] drivers/input/serio/gscps2.c:221:50: error: 'struct <anonymous>' has no member named 'ste'; did you mean 'str'?
@ 2024-10-19 14:33 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-19 14:33 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: oe-kbuild-all, linux-input
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-19 14:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-19 14:33 [dtor-input:next 94/110] drivers/input/serio/gscps2.c:221:50: error: 'struct <anonymous>' has no member named 'ste'; did you mean 'str'? 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).