All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kent Overstreet <kent.overstreet@linux.dev>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Suren Baghdasaryan <surenb@google.com>
Subject: [surenbaghdasaryan:memalloc_prof_v4 30/37] mm/nommu.c:260: warning: expecting prototype for vmalloc_node(). Prototype was for vmalloc_node_noprof() instead
Date: Sat, 17 Feb 2024 21:16:32 +0800	[thread overview]
Message-ID: <202402172155.QMan8AdY-lkp@intel.com> (raw)

tree:   https://github.com/surenbaghdasaryan/linux.git memalloc_prof_v4
head:   23633d13a520a9f34caf0f1a13820660b95406b5
commit: 6720e180dd2c9151eec11e2d63bb2408cf2184b4 [30/37] mm: vmalloc: Enable memory allocation profiling
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20240217/202402172155.QMan8AdY-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 36adfec155de366d722f2bac8ff9162289dcf06c)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240217/202402172155.QMan8AdY-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402172155.QMan8AdY-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> mm/nommu.c:260: warning: expecting prototype for vmalloc_node(). Prototype was for vmalloc_node_noprof() instead
>> mm/nommu.c:278: warning: expecting prototype for vzalloc_node(). Prototype was for vzalloc_node_noprof() instead


vim +260 mm/nommu.c

e1ca7788dec677 Dave Young      2010-10-26  247  
e1ca7788dec677 Dave Young      2010-10-26  248  /**
e1ca7788dec677 Dave Young      2010-10-26  249   * vmalloc_node - allocate memory on a specific node
e1ca7788dec677 Dave Young      2010-10-26  250   * @size:	allocation size
e1ca7788dec677 Dave Young      2010-10-26  251   * @node:	numa node
e1ca7788dec677 Dave Young      2010-10-26  252   *
e1ca7788dec677 Dave Young      2010-10-26  253   * Allocate enough pages to cover @size from the page level
e1ca7788dec677 Dave Young      2010-10-26  254   * allocator and map them into contiguous kernel virtual space.
e1ca7788dec677 Dave Young      2010-10-26  255   *
e1ca7788dec677 Dave Young      2010-10-26  256   * For tight control over page level allocator and protection flags
e1ca7788dec677 Dave Young      2010-10-26  257   * use __vmalloc() instead.
e1ca7788dec677 Dave Young      2010-10-26  258   */
6720e180dd2c91 Kent Overstreet 2023-07-09  259  void *vmalloc_node_noprof(unsigned long size, int node)
f61388822a6040 Andrew Morton   2006-02-28 @260  {
6720e180dd2c91 Kent Overstreet 2023-07-09  261  	return vmalloc_noprof(size);
f61388822a6040 Andrew Morton   2006-02-28  262  }
6720e180dd2c91 Kent Overstreet 2023-07-09  263  EXPORT_SYMBOL(vmalloc_node_noprof);
e1ca7788dec677 Dave Young      2010-10-26  264  
e1ca7788dec677 Dave Young      2010-10-26  265  /**
e1ca7788dec677 Dave Young      2010-10-26  266   * vzalloc_node - allocate memory on a specific node with zero fill
e1ca7788dec677 Dave Young      2010-10-26  267   * @size:	allocation size
e1ca7788dec677 Dave Young      2010-10-26  268   * @node:	numa node
e1ca7788dec677 Dave Young      2010-10-26  269   *
e1ca7788dec677 Dave Young      2010-10-26  270   * Allocate enough pages to cover @size from the page level
e1ca7788dec677 Dave Young      2010-10-26  271   * allocator and map them into contiguous kernel virtual space.
e1ca7788dec677 Dave Young      2010-10-26  272   * The memory allocated is set to zero.
e1ca7788dec677 Dave Young      2010-10-26  273   *
e1ca7788dec677 Dave Young      2010-10-26  274   * For tight control over page level allocator and protection flags
e1ca7788dec677 Dave Young      2010-10-26  275   * use __vmalloc() instead.
e1ca7788dec677 Dave Young      2010-10-26  276   */
6720e180dd2c91 Kent Overstreet 2023-07-09  277  void *vzalloc_node_noprof(unsigned long size, int node)
e1ca7788dec677 Dave Young      2010-10-26 @278  {
6720e180dd2c91 Kent Overstreet 2023-07-09  279  	return vzalloc_noprof(size);
e1ca7788dec677 Dave Young      2010-10-26  280  }
6720e180dd2c91 Kent Overstreet 2023-07-09  281  EXPORT_SYMBOL(vzalloc_node_noprof);
^1da177e4c3f41 Linus Torvalds  2005-04-16  282  

:::::: The code at line 260 was first introduced by commit
:::::: f61388822a6040ff462c5f7260daa0f1017f2db0 [PATCH] nommu: implement vmalloc_node()

:::::: TO: Andrew Morton <akpm@osdl.org>
:::::: CC: Linus Torvalds <torvalds@g5.osdl.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2024-02-17 13:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202402172155.QMan8AdY-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kent.overstreet@linux.dev \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=surenb@google.com \
    /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.