All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH RFC 3/3] mm/vmalloc: remove vwrite()
Date: Sat, 20 Mar 2021 03:01:04 +0800	[thread overview]
Message-ID: <202103200221.wtizJVAi-lkp@intel.com> (raw)
In-Reply-To: <20210319143452.25948-4-david@redhat.com>

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

Hi David,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on m68k/for-next]
[also build test WARNING on sparc/master char-misc/char-misc-testing linus/master v5.12-rc3 next-20210319]
[cannot apply to uclinux-h8/h8300-next hnaz-linux-mm/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/David-Hildenbrand/drivers-char-remove-dev-kmem-for-good/20210319-223811
base:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-next
config: arm-randconfig-r014-20210318 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/0day-ci/linux/commit/7c68ea58a063d3f2d811e4b9cc0cee3514bed08f
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review David-Hildenbrand/drivers-char-remove-dev-kmem-for-good/20210319-223811
        git checkout 7c68ea58a063d3f2d811e4b9cc0cee3514bed08f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> mm/nommu.c:213:6: warning: no previous prototype for function 'vwrite' [-Wmissing-prototypes]
   long vwrite(char *buf, char *addr, unsigned long count)
        ^
   mm/nommu.c:213:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   long vwrite(char *buf, char *addr, unsigned long count)
   ^
   static 
   mm/nommu.c:1658:15: warning: no previous prototype for function 'arch_get_unmapped_area' [-Wmissing-prototypes]
   unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr,
                 ^
   mm/nommu.c:1658:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr,
   ^
   static 
   2 warnings generated.


vim +/vwrite +213 mm/nommu.c

^1da177e4c3f41 Linus Torvalds 2005-04-16  212  
^1da177e4c3f41 Linus Torvalds 2005-04-16 @213  long vwrite(char *buf, char *addr, unsigned long count)
^1da177e4c3f41 Linus Torvalds 2005-04-16  214  {
^1da177e4c3f41 Linus Torvalds 2005-04-16  215  	/* Don't allow overflow */
^1da177e4c3f41 Linus Torvalds 2005-04-16  216  	if ((unsigned long) addr + count < count)
^1da177e4c3f41 Linus Torvalds 2005-04-16  217  		count = -(unsigned long) addr;
^1da177e4c3f41 Linus Torvalds 2005-04-16  218  
^1da177e4c3f41 Linus Torvalds 2005-04-16  219  	memcpy(addr, buf, count);
ac7149045d9fcc Choi Gi-yong   2014-04-07  220  	return count;
^1da177e4c3f41 Linus Torvalds 2005-04-16  221  }
^1da177e4c3f41 Linus Torvalds 2005-04-16  222  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

  reply	other threads:[~2021-03-19 19:01 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-19 14:34 [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good David Hildenbrand
2021-03-19 14:34 ` [PATCH RFC 1/3] " David Hildenbrand
2021-03-19 14:34   ` David Hildenbrand
2021-03-19 14:34   ` [OpenRISC] " David Hildenbrand
2021-03-22 13:35   ` Michal Hocko
2021-03-22 13:35     ` Michal Hocko
2021-03-22 13:35     ` [OpenRISC] " Michal Hocko
2021-04-05 17:16   ` Kees Cook
2021-04-05 17:16     ` Kees Cook
2021-04-05 17:16     ` [OpenRISC] " Kees Cook
2021-03-19 14:34 ` [PATCH RFC 2/3] mm: remove xlate_dev_kmem_ptr() David Hildenbrand
2021-03-19 14:34   ` David Hildenbrand
2021-03-19 14:34   ` David Hildenbrand
2021-03-19 14:34   ` David Hildenbrand
2021-03-19 14:54   ` Geert Uytterhoeven
2021-03-19 14:54     ` Geert Uytterhoeven
2021-03-19 14:54     ` Geert Uytterhoeven
2021-03-19 14:54     ` Geert Uytterhoeven
2021-03-19 14:54     ` Geert Uytterhoeven
2021-03-19 14:34 ` [PATCH RFC 3/3] mm/vmalloc: remove vwrite() David Hildenbrand
2021-03-19 19:01   ` kernel test robot [this message]
2021-03-19 20:55   ` kernel test robot
2021-03-22 13:36   ` Michal Hocko
2021-03-19 14:45 ` [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good David Hildenbrand
2021-03-19 17:14 ` Linus Torvalds
2021-03-19 17:14   ` Linus Torvalds
2021-03-19 17:33   ` Sebastian Andrzej Siewior
2021-03-31 15:08     ` Enrico Weigelt, metux IT consult
2021-03-31 15:19       ` Michal Hocko
2021-03-19 18:55   ` James Troup
2021-03-19 18:55     ` James Troup
2021-03-22  9:57   ` David Hildenbrand
2021-03-22 13:34   ` Michal Hocko
2021-03-19 18:10 ` Steven Rostedt
2021-03-22 10:08   ` David Hildenbrand
2021-03-22 15:18     ` Steven Rostedt
2021-03-23 13:16 ` Greg Kroah-Hartman
2021-03-23 13:44   ` David Hildenbrand

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=202103200221.wtizJVAi-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 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.