mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: kbuild-all@01.org, tglx@linutronix.de,
	linux-kernel@vger.kernel.org, arnd@arndb.de,
	y2038@lists.linaro.org, linux-arch@vger.kernel.org
Subject: Re: [PATCH 3/6] timex: prepare compat helpers for y2038 changes
Date: Thu, 5 Jul 2018 15:06:48 +0800	[thread overview]
Message-ID: <201807051322.sUohKhUO%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180703054422.12089-4-deepa.kernel@gmail.com>

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

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 16325 bytes --]

  reply	other threads:[~2018-07-05  7:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-03  5:44 [PATCH 0/6] Introduce struct __kernel_timex Deepa Dinamani
2018-07-03  5:44 ` [PATCH 1/6] arm64: Make basic compat_* types always available Deepa Dinamani
2018-07-03  5:44 ` [PATCH 2/6] sparc: Make thread_info.h available directly Deepa Dinamani
2018-07-03  9:16   ` David Miller
2018-07-03  5:44 ` [PATCH 3/6] timex: prepare compat helpers for y2038 changes Deepa Dinamani
2018-07-05  7:06   ` kbuild test robot [this message]
2018-07-05 20:06     ` Deepa Dinamani
2018-07-05 20:33       ` Thomas Gleixner
2018-07-05 21:45         ` Deepa Dinamani
2018-07-06  0:41           ` [kbuild-all] " Philip Li
2018-07-03  5:44 ` [PATCH 4/6] time: Add struct __kernel_timex Deepa Dinamani
2018-07-03  5:44 ` [PATCH 5/6] timex: use __kernel_timex internally Deepa Dinamani
2018-07-03  5:44 ` [PATCH 6/6] timex: change syscalls to use struct __kernel_timex Deepa Dinamani

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=201807051322.sUohKhUO%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=deepa.kernel@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=y2038@lists.linaro.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

all inboxes | Powered by JetHome®