From: kbuild test robot <lkp@intel.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
linux-fbdev@vger.kernel.org, linux-arch@vger.kernel.org,
linux-alpha@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, x86@kernel.org,
linux-mips@linux-mips.org, linuxppc-dev@lists.ozlabs.org,
sparclinux@vger.kernel.org, Minchan Kim <minchan@kernel.org>,
Matthew Wilcox <mawilcox@microsoft.com>
Subject: Re: [PATCH v3 7/7] vga: Optimise console scrolling
Date: Sun, 26 Mar 2017 16:45:33 +0800 [thread overview]
Message-ID: <201703261615.IpHMoe8K%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170324161318.18718-8-willy@infradead.org>
[-- Attachment #1: Type: text/plain, Size: 4553 bytes --]
Hi Matthew,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc3 next-20170324]
[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/Matthew-Wilcox/Add-memsetN-functions/20170326-140108
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc
All error/warnings (new ones prefixed by >>):
In file included from include/video/vga.h:22:0,
from include/linux/vgaarb.h:34,
from drivers/gpu//drm/amd/amdgpu/amdgpu_device.c:35:
arch/sparc/include/asm/vga.h: In function 'scr_memsetw':
>> arch/sparc/include/asm/vga.h:39:11: error: 's' undeclared (first use in this function)
memset16(s, cpu_to_le16(v), n / 2);
^
arch/sparc/include/asm/vga.h:39:11: note: each undeclared identifier is reported only once for each function it appears in
--
In file included from include/video/vga.h:22:0,
from include/linux/vgaarb.h:34,
from drivers/gpu//drm/nouveau/nouveau_vga.c:1:
arch/sparc/include/asm/vga.h: In function 'scr_memsetw':
>> arch/sparc/include/asm/vga.h:39:2: error: implicit declaration of function 'memset16' [-Werror=implicit-function-declaration]
memset16(s, cpu_to_le16(v), n / 2);
^~~~~~~~
>> arch/sparc/include/asm/vga.h:39:11: error: 's' undeclared (first use in this function)
memset16(s, cpu_to_le16(v), n / 2);
^
arch/sparc/include/asm/vga.h:39:11: note: each undeclared identifier is reported only once for each function it appears in
arch/sparc/include/asm/vga.h: In function 'scr_memcpyw':
>> arch/sparc/include/asm/vga.h:46:2: error: implicit declaration of function 'memcpy' [-Werror=implicit-function-declaration]
memcpy(d, s, n);
^~~~~~
>> arch/sparc/include/asm/vga.h:46:2: warning: incompatible implicit declaration of built-in function 'memcpy'
arch/sparc/include/asm/vga.h:46:2: note: include '<string.h>' or provide a declaration of 'memcpy'
arch/sparc/include/asm/vga.h: In function 'scr_memmovew':
>> arch/sparc/include/asm/vga.h:53:2: error: implicit declaration of function 'memmove' [-Werror=implicit-function-declaration]
memmove(d, s, n);
^~~~~~~
>> arch/sparc/include/asm/vga.h:53:2: warning: incompatible implicit declaration of built-in function 'memmove'
arch/sparc/include/asm/vga.h:53:2: note: include '<string.h>' or provide a declaration of 'memmove'
In file included from include/uapi/linux/uuid.h:21:0,
from include/linux/uuid.h:19,
from include/linux/mod_devicetable.h:12,
from include/linux/i2c.h:29,
from include/uapi/linux/fb.h:5,
from include/linux/fb.h:5,
from include/linux/vga_switcheroo.h:34,
from drivers/gpu//drm/nouveau/nouveau_vga.c:2:
include/linux/string.h: At top level:
>> include/linux/string.h:104:14: error: conflicting types for 'memset16'
extern void *memset16(uint16_t *, uint16_t, __kernel_size_t);
^~~~~~~~
In file included from include/video/vga.h:22:0,
from include/linux/vgaarb.h:34,
from drivers/gpu//drm/nouveau/nouveau_vga.c:1:
arch/sparc/include/asm/vga.h:39:2: note: previous implicit declaration of 'memset16' was here
memset16(s, cpu_to_le16(v), n / 2);
^~~~~~~~
cc1: some warnings being treated as errors
vim +/s +39 arch/sparc/include/asm/vga.h
33 }
34
35 static inline void scr_memsetw(u16 *p, u16 v, unsigned int n)
36 {
37 BUG_ON((long) p >= 0);
38
> 39 memset16(s, cpu_to_le16(v), n / 2);
40 }
41
42 static inline void scr_memcpyw(u16 *d, u16 *s, unsigned int n)
43 {
44 BUG_ON((long) d >= 0);
45
> 46 memcpy(d, s, n);
47 }
48
49 static inline void scr_memmovew(u16 *d, u16 *s, unsigned int n)
50 {
51 BUG_ON((long) d >= 0);
52
> 53 memmove(d, s, n);
54 }
55
56 #define VGA_MAP_MEM(x,s) (x)
---
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: 49779 bytes --]
next prev parent reply other threads:[~2017-03-26 8:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-24 16:13 [PATCH v3 0/7] Add memsetN functions Matthew Wilcox
2017-03-24 16:13 ` [PATCH v3 1/7] Add multibyte memset functions Matthew Wilcox
2017-03-24 16:13 ` [PATCH v3 2/7] ARM: Implement memset16, memset32 & memset64 Matthew Wilcox
2017-03-24 16:13 ` [PATCH v3 3/7] x86: " Matthew Wilcox
2017-03-26 7:44 ` kbuild test robot
2017-03-24 16:13 ` [PATCH v3 4/7] alpha: Add support for memset16 Matthew Wilcox
2017-03-26 7:28 ` kbuild test robot
2017-03-24 16:13 ` [PATCH v3 5/7] zram: Convert to using memset_l Matthew Wilcox
2017-03-27 5:01 ` Minchan Kim
2017-03-27 5:01 ` Minchan Kim
2017-03-24 16:13 ` [PATCH v3 6/7] sym53c8xx_2: Convert to use memset32 Matthew Wilcox
2017-03-24 16:13 ` [PATCH v3 7/7] vga: Optimise console scrolling Matthew Wilcox
2017-03-26 8:45 ` kbuild test robot [this message]
2017-03-26 9:53 ` kbuild test robot
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=201703261615.IpHMoe8K%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mawilcox@microsoft.com \
--cc=minchan@kernel.org \
--cc=sparclinux@vger.kernel.org \
--cc=willy@infradead.org \
--cc=x86@kernel.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).