From: kbuild test robot <lkp@intel.com>
To: linux-fbdev@vger.kernel.org
Subject: Re: [PATCH v3 7/7] vga: Optimise console scrolling
Date: Sun, 26 Mar 2017 09:53:55 +0000 [thread overview]
Message-ID: <201703261730.9nRIHfGC%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170324161318.18718-8-willy@infradead.org>
[-- Attachment #1: Type: text/plain, Size: 6527 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: mips-defconfig (attached as .config)
compiler: mips-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=mips
All errors (new ones prefixed by >>):
In file included from include/linux/selection.h:11:0,
from drivers/video/console/newport_con.c:16:
include/linux/vt_buffer.h: In function 'scr_memsetw':
>> include/linux/vt_buffer.h:34:2: error: implicit declaration of function 'memset16' [-Werror=implicit-function-declaration]
memset16(s, c, count / 2);
^~~~~~~~
include/linux/vt_buffer.h: In function 'scr_memcpyw':
>> include/linux/vt_buffer.h:47:2: error: implicit declaration of function 'memcpy' [-Werror=implicit-function-declaration]
memcpy(d, s, count);
^~~~~~
include/linux/vt_buffer.h: In function 'scr_memmovew':
>> include/linux/vt_buffer.h:66:2: error: implicit declaration of function 'memmove' [-Werror=implicit-function-declaration]
memmove(d, s, count);
^~~~~~~
In file included from include/linux/string.h:18:0,
from include/linux/bitmap.h:8,
from include/linux/cpumask.h:11,
from arch/mips/include/asm/processor.h:15,
from arch/mips/include/asm/thread_info.h:15,
from include/linux/thread_info.h:25,
from include/asm-generic/preempt.h:4,
from ./arch/mips/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:80,
from include/linux/spinlock.h:50,
from include/linux/wait.h:8,
from include/linux/fs.h:5,
from include/linux/tty.h:4,
from include/linux/vt_kern.h:11,
from drivers/video/console/newport_con.c:18:
arch/mips/include/asm/string.h: At top level:
>> arch/mips/include/asm/string.h:138:14: error: conflicting types for 'memcpy'
extern void *memcpy(void *__to, __const__ void *__from, size_t __n);
^~~~~~
In file included from include/linux/selection.h:11:0,
from drivers/video/console/newport_con.c:16:
include/linux/vt_buffer.h:47:2: note: previous implicit declaration of 'memcpy' was here
memcpy(d, s, count);
^~~~~~
In file included from include/linux/string.h:18:0,
from include/linux/bitmap.h:8,
from include/linux/cpumask.h:11,
from arch/mips/include/asm/processor.h:15,
from arch/mips/include/asm/thread_info.h:15,
from include/linux/thread_info.h:25,
from include/asm-generic/preempt.h:4,
from ./arch/mips/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:80,
from include/linux/spinlock.h:50,
from include/linux/wait.h:8,
from include/linux/fs.h:5,
from include/linux/tty.h:4,
from include/linux/vt_kern.h:11,
from drivers/video/console/newport_con.c:18:
>> arch/mips/include/asm/string.h:141:14: error: conflicting types for 'memmove'
extern void *memmove(void *__dest, __const__ void *__src, size_t __n);
^~~~~~~
In file included from include/linux/selection.h:11:0,
from drivers/video/console/newport_con.c:16:
include/linux/vt_buffer.h:66:2: note: previous implicit declaration of 'memmove' was here
memmove(d, s, count);
^~~~~~~
In file included from include/linux/bitmap.h:8:0,
from include/linux/cpumask.h:11,
from arch/mips/include/asm/processor.h:15,
from arch/mips/include/asm/thread_info.h:15,
from include/linux/thread_info.h:25,
from include/asm-generic/preempt.h:4,
from ./arch/mips/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:80,
from include/linux/spinlock.h:50,
from include/linux/wait.h:8,
from include/linux/fs.h:5,
from include/linux/tty.h:4,
from include/linux/vt_kern.h:11,
from drivers/video/console/newport_con.c:18:
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/linux/selection.h:11:0,
from drivers/video/console/newport_con.c:16:
include/linux/vt_buffer.h:34:2: note: previous implicit declaration of 'memset16' was here
memset16(s, c, count / 2);
^~~~~~~~
cc1: some warnings being treated as errors
vim +/memset16 +34 include/linux/vt_buffer.h
28 {
29 #ifdef VT_BUF_HAVE_RW
30 count /= 2;
31 while (count--)
32 scr_writew(c, s++);
33 #else
> 34 memset16(s, c, count / 2);
35 #endif
36 }
37 #endif
38
39 #ifndef VT_BUF_HAVE_MEMCPYW
40 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count)
41 {
42 #ifdef VT_BUF_HAVE_RW
43 count /= 2;
44 while (count--)
45 scr_writew(scr_readw(s++), d++);
46 #else
> 47 memcpy(d, s, count);
48 #endif
49 }
50 #endif
51
52 #ifndef VT_BUF_HAVE_MEMMOVEW
53 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count)
54 {
55 #ifdef VT_BUF_HAVE_RW
56 if (d < s)
57 scr_memcpyw(d, s, count);
58 else {
59 count /= 2;
60 d += count;
61 s += count;
62 while (count--)
63 scr_writew(scr_readw(--s), --d);
64 }
65 #else
> 66 memmove(d, s, count);
67 #endif
68 }
69 #endif
---
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: 13581 bytes --]
prev parent reply other threads:[~2017-03-26 9:53 UTC|newest]
Thread overview: 13+ 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-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
2017-03-26 9:53 ` kbuild test robot [this message]
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=201703261730.9nRIHfGC%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=linux-fbdev@vger.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).