public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Logan Gunthorpe <logang@deltatee.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org
Subject: [sbates130272-p2pmem:p2pdma_user_cmb_v4 19/24] lib/scatterlist.c:417:7: error: implicit declaration of function 'zone_device_pages_are_mergeable'
Date: Fri, 1 Oct 2021 18:42:37 +0800	[thread overview]
Message-ID: <202110011830.ntDkn6Dx-lkp@intel.com> (raw)

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

tree:   https://github.com/sbates130272/linux-p2pmem.git p2pdma_user_cmb_v4
head:   fafffd8dc69edfad4ffca8e67bd6520f3a1a004f
commit: 6b808aa3a2e1b9d8d822db34fda24c4505add09b [19/24] lib/scatterlist: add check when merging zone device pages
config: hexagon-randconfig-r045-20211001 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 962e503cc8bc411f7523cc393acae8aae425b1c4)
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
        # https://github.com/sbates130272/linux-p2pmem/commit/6b808aa3a2e1b9d8d822db34fda24c4505add09b
        git remote add sbates130272-p2pmem https://github.com/sbates130272/linux-p2pmem.git
        git fetch --no-tags sbates130272-p2pmem p2pdma_user_cmb_v4
        git checkout 6b808aa3a2e1b9d8d822db34fda24c4505add09b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon 

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

All errors (new ones prefixed by >>):

>> lib/scatterlist.c:417:7: error: implicit declaration of function 'zone_device_pages_are_mergeable' [-Werror,-Wimplicit-function-declaration]
           if (!zone_device_pages_are_mergeable(a, b))
                ^
   lib/scatterlist.c:417:7: note: did you mean 'zone_device_pages_are_mergable'?
   include/linux/mm.h:1164:20: note: 'zone_device_pages_are_mergable' declared here
   static inline bool zone_device_pages_are_mergable(const struct page *a,
                      ^
   1 error generated.


vim +/zone_device_pages_are_mergeable +417 lib/scatterlist.c

   412	
   413	static bool pages_are_mergeable(struct page *a, struct page *b)
   414	{
   415		if (page_to_pfn(a) != page_to_pfn(b) + 1)
   416			return false;
 > 417		if (!zone_device_pages_are_mergeable(a, b))
   418			return false;
   419		return true;
   420	}
   421	

---
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: 28385 bytes --]

                 reply	other threads:[~2021-10-01 10:43 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=202110011830.ntDkn6Dx-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=logang@deltatee.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