linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Ho-Ren (Jack) Chuang" <horenchuang@bytedance.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>,
	"Huang, Ying" <ying.huang@intel.com>
Subject: [akpm-mm:mm-unstable 262/270] include/linux/memory-tiers.h:143:25: warning: no previous prototype for 'mt_find_alloc_memory_type'
Date: Sun, 31 Mar 2024 17:40:24 +0800	[thread overview]
Message-ID: <202403311756.GDcbqLdZ-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   0cef2c0a2a356137b170c3cb46cb9c1dd2ca3e6b
commit: 57fc2afac84efdb0968e028382023a937bb4d6a0 [262/270] memory tier: dax/kmem: introduce an abstract layer for finding, allocating, and putting memory types
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20240331/202403311756.GDcbqLdZ-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240331/202403311756.GDcbqLdZ-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/202403311756.GDcbqLdZ-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from kernel/sched/fair.c:43:
>> include/linux/memory-tiers.h:143:25: warning: no previous prototype for 'mt_find_alloc_memory_type' [-Wmissing-prototypes]
     143 | struct memory_dev_type *mt_find_alloc_memory_type(int adist, struct list_head *memory_types)
         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/memory-tiers.h:148:6: warning: no previous prototype for 'mt_put_memory_types' [-Wmissing-prototypes]
     148 | void mt_put_memory_types(struct list_head *memory_types)
         |      ^~~~~~~~~~~~~~~~~~~


vim +/mt_find_alloc_memory_type +143 include/linux/memory-tiers.h

   142	
 > 143	struct memory_dev_type *mt_find_alloc_memory_type(int adist, struct list_head *memory_types)
   144	{
   145		return NULL;
   146	}
   147	
 > 148	void mt_put_memory_types(struct list_head *memory_types)
   149	{
   150	

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


                 reply	other threads:[~2024-03-31  9:41 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=202403311756.GDcbqLdZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=horenchuang@bytedance.com \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ying.huang@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox