All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Richard Weinberger <richard@nod.at>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	linux-api@vger.kernel.org, David Gstir <david@sigma-star.at>,
	Richard Weinberger <richard@nod.at>
Subject: Re: [PATCH] Implement leftpad syscall
Date: Fri, 1 Apr 2016 11:22:07 +0800	[thread overview]
Message-ID: <201604011115.cmZXMgmp%fengguang.wu@intel.com> (raw)
In-Reply-To: <1459463613-32473-2-git-send-email-richard@nod.at>

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

Hi David,

[auto build test ERROR on v4.6-rc1]
[also build test ERROR on next-20160331]
[cannot apply to tip/x86/core]
[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/Richard-Weinberger/Implement-leftpad-syscall/20160401-063620
config: microblaze-mmu_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=microblaze 

All errors (new ones prefixed by >>):

   kernel/sys.c: In function 'SYSC_leftpad':
>> kernel/sys.c:2441:2: error: implicit declaration of function 'strlen_user' [-Werror=implicit-function-declaration]
     size_t len = strlen_user(src);
     ^
   cc1: some warnings being treated as errors

vim +/strlen_user +2441 kernel/sys.c

  2435	
  2436	
  2437	SYSCALL_DEFINE4(leftpad, char *, src, char, pad, char *, dst, size_t, dst_len)
  2438	{
  2439		char *buf;
  2440		long ret;
> 2441		size_t len = strlen_user(src);
  2442		size_t pad_len = dst_len - len;
  2443	
  2444		if (dst_len <= len || dst_len > 4096) {

---
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: 12144 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kbuild-all-JC7UmRfGjtg@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	David Gstir <david-S6VGOU4v5edDinCvNWH78Q@public.gmane.org>,
	Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>
Subject: Re: [PATCH] Implement leftpad syscall
Date: Fri, 1 Apr 2016 11:22:07 +0800	[thread overview]
Message-ID: <201604011115.cmZXMgmp%fengguang.wu@intel.com> (raw)
In-Reply-To: <1459463613-32473-2-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>

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

Hi David,

[auto build test ERROR on v4.6-rc1]
[also build test ERROR on next-20160331]
[cannot apply to tip/x86/core]
[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/Richard-Weinberger/Implement-leftpad-syscall/20160401-063620
config: microblaze-mmu_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=microblaze 

All errors (new ones prefixed by >>):

   kernel/sys.c: In function 'SYSC_leftpad':
>> kernel/sys.c:2441:2: error: implicit declaration of function 'strlen_user' [-Werror=implicit-function-declaration]
     size_t len = strlen_user(src);
     ^
   cc1: some warnings being treated as errors

vim +/strlen_user +2441 kernel/sys.c

  2435	
  2436	
  2437	SYSCALL_DEFINE4(leftpad, char *, src, char, pad, char *, dst, size_t, dst_len)
  2438	{
  2439		char *buf;
  2440		long ret;
> 2441		size_t len = strlen_user(src);
  2442		size_t pad_len = dst_len - len;
  2443	
  2444		if (dst_len <= len || dst_len > 4096) {

---
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: 12144 bytes --]

  parent reply	other threads:[~2016-04-01  3:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-31 22:33 New syscall: leftpad() Richard Weinberger
2016-03-31 22:33 ` Richard Weinberger
2016-03-31 22:33 ` [PATCH] Implement leftpad syscall Richard Weinberger
2016-03-31 22:46   ` Michael Kerrisk (man-pages)
2016-03-31 22:46     ` Michael Kerrisk (man-pages)
2016-03-31 23:09   ` Greg KH
2016-03-31 23:09     ` Greg KH
2016-04-01  1:33   ` Frederic Weisbecker
2016-04-01  3:22   ` kbuild test robot [this message]
2016-04-01  3:22     ` kbuild test robot
2016-04-01  6:56   ` Richard Cochran
2016-04-01  6:56     ` Richard Cochran
2016-04-01  7:14   ` Scotty Bauer
2016-03-31 22:33 ` [PATCH] leftpad.2: Document new syscall Richard Weinberger
2016-04-08 18:10   ` Heinrich Schuchardt
2016-04-08 18:10     ` Heinrich Schuchardt
2016-04-09 14:12     ` Richard Weinberger
2016-03-31 23:36 ` New syscall: leftpad() Randy Dunlap
2016-03-31 23:36   ` Randy Dunlap
2016-04-01  8:06   ` Richard Weinberger
2016-04-01  8:06     ` Richard Weinberger

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=201604011115.cmZXMgmp%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=david@sigma-star.at \
    --cc=kbuild-all@01.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard@nod.at \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.