[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201609140054.YrcBNFHV%fengguang.wu@intel.com>
Date: Wed, 14 Sep 2016 00:06:12 +0800
From: kbuild test robot <lkp@...el.com>
To: Deepa Dinamani <deepa.kernel@...il.com>
Cc: kbuild-all@...org, Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
arnd@...db.de, y2038@...ts.linaro.org
Subject: Re: [PATCH 3/4] input: Deprecate real timestamps beyond year 2106
Hi Deepa,
[auto build test ERROR on input/next]
[also build test ERROR on v4.8-rc6 next-20160913]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Deepa-Dinamani/Make-input-drivers-y2038-safe/20160913-221810
base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: x86_64-randconfig-s0-09132154 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/input/input-compat.c: In function 'input_event_from_user':
>> drivers/input/input-compat.c:24:15: error: invalid application of 'sizeof' to incomplete type 'struct input_event_compat'
sizeof(struct input_event_compat)))
^~~~~~
drivers/input/input-compat.c: In function 'input_event_to_user':
drivers/input/input-compat.c:55:13: error: invalid application of 'sizeof' to incomplete type 'struct input_event_compat'
sizeof(struct input_event_compat)))
^~~~~~
vim +24 drivers/input/input-compat.c
68d77942 Deepa Dinamani 2016-09-13 18 struct raw_input_event *event)
2d56f3a3 Philip Langdale 2008-10-16 19 {
68d77942 Deepa Dinamani 2016-09-13 20 if (in_compat_syscall()) {
68d77942 Deepa Dinamani 2016-09-13 21 struct raw_input_event_compat compat_event;
2d56f3a3 Philip Langdale 2008-10-16 22
2d56f3a3 Philip Langdale 2008-10-16 23 if (copy_from_user(&compat_event, buffer,
2d56f3a3 Philip Langdale 2008-10-16 @24 sizeof(struct input_event_compat)))
2d56f3a3 Philip Langdale 2008-10-16 25 return -EFAULT;
2d56f3a3 Philip Langdale 2008-10-16 26
2d56f3a3 Philip Langdale 2008-10-16 27 event->time.tv_sec = compat_event.time.tv_sec;
:::::: The code at line 24 was first introduced by commit
:::::: 2d56f3a32c0e62f99c043d2579840f9731fe5855 Input: refactor evdev 32bit compat to be shareable with uinput
:::::: TO: Philip Langdale <philipl@...rt.org>
:::::: CC: Dmitry Torokhov <dmitry.torokhov@...il.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (21772 bytes)
Powered by blists - more mailing lists