Re: [PATCH] [v3]Input: evdev - drop partial events after emptying the buffer

From: kbuild test robot
Date: Mon Jan 04 2016 - 16:50:12 EST


Hi Aniroop,

[auto build test ERROR on input/next]
[also build test ERROR on v4.4-rc8 next-20160104]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Aniroop-Mathur/Input-evdev-drop-partial-events-after-emptying-the-buffer/20160105-053003
base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: avr32-atstk1006_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=avr32

All errors (new ones prefixed by >>):

drivers/input/evdev.c: In function '__evdev_queue_syn_dropped':
drivers/input/evdev.c:195: error: request for member 'time' in something not a structure or union
>> drivers/input/evdev.c:196: error: incompatible types in assignment
--
/kbuild/src/um/drivers/input/evdev.c: In function '__evdev_queue_syn_dropped':
/kbuild/src/um/drivers/input/evdev.c:195: error: request for member 'time' in something not a structure or union
>> /kbuild/src/um/drivers/input/evdev.c:196: error: incompatible types in assignment

vim +196 drivers/input/evdev.c

189 * ignore partial events and if last packet is fully stored, queue
190 * SYN_REPORT so that clients would not ignore next full packet.
191 */
192 if (prev_ev->type != EV_SYN && prev_ev->code != SYN_REPORT) {
193 client->drop_pevent = true;
194 } else if (prev_ev->type == EV_SYN && prev_ev->code == SYN_REPORT) {
> 195 prev_ev.time = ev.time;
> 196 client->buffer[client->head++] = prev_ev;
197 client->head &= mask;
198 client->packet_head = client->head;
199

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data