Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1301133
| From | Aniroop Mathur <aniroop.mathur@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] [v3]Input: evdev - drop partial events after emptying the buffer |
| Date | 2016-01-04 23:00 +0100 |
| Message-ID | <qNlkv-HP-17@gated-at.bofh.it> (permalink) |
| References | <qNkRs-vJ-3@gated-at.bofh.it> <qNlkv-HP-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] [v3]Input: evdev - drop partial events after emptying the buffer Aniroop Mathur <a.mathur@samsung.com> - 2016-01-04 22:30 +0100 Re: [PATCH] [v3]Input: evdev - drop partial events after emptying the buffer Aniroop Mathur <aniroop.mathur@gmail.com> - 2016-01-04 23:00 +0100 Re: [PATCH] [v3]Input: evdev - drop partial events after emptying the buffer kbuild test robot <lkp@intel.com> - 2016-01-04 23:00 +0100 Re: [PATCH] [v3]Input: evdev - drop partial events after emptying the buffer kbuild test robot <lkp@intel.com> - 2016-01-04 23:10 +0100
csiph-web