lkml.org 
[lkml]   [2018]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/6] timex: prepare compat helpers for y2038 changes
Hi Deepa,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tip/timers/core]
[also build test ERROR on next-20180704]
[cannot apply to linus/master v4.18-rc3]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Deepa-Dinamani/arm64-Make-basic-compat_-types-always-available/20180703-151440
config: riscv-defconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 8.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=riscv

All errors (new ones prefixed by >>):

In file included from include/linux/compat.h:10,
from include/linux/ethtool.h:17,
from include/linux/netdevice.h:41,
from drivers/net/mii.c:32:
>> include/linux/compat_time.h:29:2: error: unknown type name 'compat_uint_t'
compat_uint_t modes;
^~~~~~~~~~~~~
>> include/linux/compat_time.h:30:2: error: unknown type name 'compat_long_t'
compat_long_t offset;
^~~~~~~~~~~~~
include/linux/compat_time.h:31:2: error: unknown type name 'compat_long_t'
compat_long_t freq;
^~~~~~~~~~~~~
include/linux/compat_time.h:32:2: error: unknown type name 'compat_long_t'
compat_long_t maxerror;
^~~~~~~~~~~~~
include/linux/compat_time.h:33:2: error: unknown type name 'compat_long_t'
compat_long_t esterror;
^~~~~~~~~~~~~
>> include/linux/compat_time.h:34:2: error: unknown type name 'compat_int_t'
compat_int_t status;
^~~~~~~~~~~~
include/linux/compat_time.h:35:2: error: unknown type name 'compat_long_t'
compat_long_t constant;
^~~~~~~~~~~~~
include/linux/compat_time.h:36:2: error: unknown type name 'compat_long_t'
compat_long_t precision;
^~~~~~~~~~~~~
include/linux/compat_time.h:37:2: error: unknown type name 'compat_long_t'
compat_long_t tolerance;
^~~~~~~~~~~~~
include/linux/compat_time.h:39:2: error: unknown type name 'compat_long_t'
compat_long_t tick;
^~~~~~~~~~~~~
include/linux/compat_time.h:40:2: error: unknown type name 'compat_long_t'
compat_long_t ppsfreq;
^~~~~~~~~~~~~
include/linux/compat_time.h:41:2: error: unknown type name 'compat_long_t'
compat_long_t jitter;
^~~~~~~~~~~~~
include/linux/compat_time.h:42:2: error: unknown type name 'compat_int_t'
compat_int_t shift;
^~~~~~~~~~~~
include/linux/compat_time.h:43:2: error: unknown type name 'compat_long_t'
compat_long_t stabil;
^~~~~~~~~~~~~
include/linux/compat_time.h:44:2: error: unknown type name 'compat_long_t'
compat_long_t jitcnt;
^~~~~~~~~~~~~
include/linux/compat_time.h:45:2: error: unknown type name 'compat_long_t'
compat_long_t calcnt;
^~~~~~~~~~~~~
include/linux/compat_time.h:46:2: error: unknown type name 'compat_long_t'
compat_long_t errcnt;
^~~~~~~~~~~~~
include/linux/compat_time.h:47:2: error: unknown type name 'compat_long_t'
compat_long_t stbcnt;
^~~~~~~~~~~~~
include/linux/compat_time.h:48:2: error: unknown type name 'compat_int_t'
compat_int_t tai;
^~~~~~~~~~~~
>> include/linux/compat_time.h:50:2: error: expected specifier-qualifier-list before 'compat_int_t'
compat_int_t:32; compat_int_t:32; compat_int_t:32; compat_int_t:32;
^~~~~~~~~~~~

vim +/compat_uint_t +29 include/linux/compat_time.h

27
28 struct compat_timex {
> 29 compat_uint_t modes;
> 30 compat_long_t offset;
> 31 compat_long_t freq;
32 compat_long_t maxerror;
33 compat_long_t esterror;
> 34 compat_int_t status;
35 compat_long_t constant;
36 compat_long_t precision;
37 compat_long_t tolerance;
38 struct compat_timeval time;
39 compat_long_t tick;
40 compat_long_t ppsfreq;
41 compat_long_t jitter;
42 compat_int_t shift;
43 compat_long_t stabil;
44 compat_long_t jitcnt;
45 compat_long_t calcnt;
> 46 compat_long_t errcnt;
47 compat_long_t stbcnt;
48 compat_int_t tai;
49
> 50 compat_int_t:32; compat_int_t:32; compat_int_t:32; compat_int_t:32;
51 compat_int_t:32; compat_int_t:32; compat_int_t:32; compat_int_t:32;
52 compat_int_t:32; compat_int_t:32; compat_int_t:32;
53 };
54
55

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2018-07-05 09:07    [W:0.113 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site