lkml.org 
[lkml]   [2016]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] [v3]Input: evdev - drop partial events after emptying the buffer
From
Just now sent v4. Please ignore v3.

On Tue, Jan 5, 2016 at 3:19 AM, kbuild test robot <lkp@intel.com> 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 infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation


\
 
 \ /
  Last update: 2016-01-04 23:21    [W:0.049 / U:1.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site