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: i386-randconfig-x005-01040616 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/input/evdev.c: In function '__evdev_queue_syn_dropped':
>> drivers/input/evdev.c:195:10: error: request for member 'time' in something 
>> not a structure or union
      prev_ev.time = ev.time;
             ^
>> drivers/input/evdev.c:196:34: error: incompatible types when assigning to 
>> type 'struct input_event' from type 'struct input_event *'
      client->buffer[client->head++] = prev_ev;
                                     ^

vim +/time +195 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

Reply via email to