linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, dmitry.torokhov@gmail.com,
	benjamin.tissoires@gmail.com, peter.hutterer@who-t.net,
	dh.herrmann@gmail.com, rydberg@bitmath.org,
	aniroop.mathur@gmail.com, linux-input@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Aniroop Mathur <a.mathur@samsung.com>
Subject: Re: [PATCH] [v3]Input: evdev - drop partial events after emptying the buffer
Date: Tue, 5 Jan 2016 06:00:06 +0800	[thread overview]
Message-ID: <201601050539.qbE6R5gP%fengguang.wu@intel.com> (raw)
In-Reply-To: <1451943026-1240-1-git-send-email-a.mathur@samsung.com>

[-- Attachment #1: Type: text/plain, Size: 1760 bytes --]

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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 25174 bytes --]

      parent reply	other threads:[~2016-01-04 22:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-04 21:30 [PATCH] [v3]Input: evdev - drop partial events after emptying the buffer Aniroop Mathur
2016-01-04 21:49 ` kbuild test robot
2016-01-04 21:56   ` Aniroop Mathur
2016-01-04 22:00 ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201601050539.qbE6R5gP%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=a.mathur@samsung.com \
    --cc=aniroop.mathur@gmail.com \
    --cc=benjamin.tissoires@gmail.com \
    --cc=dh.herrmann@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter.hutterer@who-t.net \
    --cc=rydberg@bitmath.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).