Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: gscps2 - fix compilation error introduced with switch to guards

Change 44f920069911 ("Input: gscps2 - use guard notation when acquiring
spinlock") introduced typos resulting in compile errors noticed by the
kernel test robot. Fix them.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202410192242.GL0CoAbv-lkp@intel.com/
Fixes: 44f920069911 ("Input: gscps2 - use guard notation when acquiring spinlock")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

+1 -3
+1 -3
drivers/input/serio/gscps2.c
··· 198 198 199 199 static void gscps2_reset(struct gscps2port *ps2port) 200 200 { 201 - unsigned long flags; 202 - 203 201 /* reset the interface */ 204 202 guard(spinlock_irqsave)(&ps2port->lock); 205 203 gscps2_flush(ps2port); ··· 216 218 if (!(status & GSC_STAT_RBNE)) 217 219 break; 218 220 219 - ps2port->buffer[ps2port->append].ste = status; 221 + ps2port->buffer[ps2port->append].str = status; 220 222 ps2port->buffer[ps2port->append].data = 221 223 gscps2_readb_input(ps2port->addr); 222 224 } while (true);