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

2016-01-04 Thread kbuild test robot
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 infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


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

2016-01-04 Thread Aniroop Mathur
Just now sent v4. Please ignore v3.

On Tue, Jan 5, 2016 at 3:19 AM, kbuild test robot  wrote:
> 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 infrastructureOpen Source Technology Center
> https://lists.01.org/pipermail/kbuild-all   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2016-01-04 Thread kbuild test robot
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 infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


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

2016-01-04 Thread kbuild test robot
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 infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


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

2016-01-04 Thread Aniroop Mathur
Just now sent v4. Please ignore v3.

On Tue, Jan 5, 2016 at 3:19 AM, kbuild test robot  wrote:
> 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 infrastructureOpen Source Technology Center
> https://lists.01.org/pipermail/kbuild-all   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2016-01-04 Thread kbuild test robot
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 infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data