All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [mlankhorst:xe 57/165] drivers/gpu/drm/xe/xe_ggtt.c:49:2: error: implicit declaration of function 'writeq'; did you mean 'writel'?
Date: Wed, 26 Jan 2022 20:55:47 +0800	[thread overview]
Message-ID: <202201262033.KJ6X5rbX-lkp@intel.com> (raw)

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

tree:   git://people.freedesktop.org/~mlankhorst/linux xe
head:   4bc3039b4403c76a13d58f7ac1f7c07dca6f88d8
commit: 0d5fc1553e186ef20954dcc179aab3f6a5bb2644 [57/165] Add support for the GGTT
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220126/202201262033.KJ6X5rbX-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add mlankhorst git://people.freedesktop.org/~mlankhorst/linux
        git fetch --no-tags mlankhorst xe
        git checkout 0d5fc1553e186ef20954dcc179aab3f6a5bb2644
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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 >>):

   drivers/gpu/drm/xe/xe_ggtt.c: In function 'xe_ggtt_set_pte':
>> drivers/gpu/drm/xe/xe_ggtt.c:49:2: error: implicit declaration of function 'writeq'; did you mean 'writel'? [-Werror=implicit-function-declaration]
      49 |  writeq(pte, &ggtt->gsm[addr >> GEN8_PTE_SHIFT]);
         |  ^~~~~~
         |  writel
   cc1: all warnings being treated as errors


vim +49 drivers/gpu/drm/xe/xe_ggtt.c

    43	
    44	static void xe_ggtt_set_pte(struct xe_ggtt *ggtt, uint64_t addr, uint64_t pte)
    45	{
    46		XE_BUG_ON(addr & GEN8_PTE_MASK);
    47		XE_BUG_ON(addr > ggtt->size);
    48	
  > 49		writeq(pte, &ggtt->gsm[addr >> GEN8_PTE_SHIFT]);
    50	}
    51	

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Jason Ekstrand <jason@jlekstrand.net>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Subject: [mlankhorst:xe 57/165] drivers/gpu/drm/xe/xe_ggtt.c:49:2: error: implicit declaration of function 'writeq'; did you mean 'writel'?
Date: Wed, 26 Jan 2022 20:55:47 +0800	[thread overview]
Message-ID: <202201262033.KJ6X5rbX-lkp@intel.com> (raw)

tree:   git://people.freedesktop.org/~mlankhorst/linux xe
head:   4bc3039b4403c76a13d58f7ac1f7c07dca6f88d8
commit: 0d5fc1553e186ef20954dcc179aab3f6a5bb2644 [57/165] Add support for the GGTT
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220126/202201262033.KJ6X5rbX-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add mlankhorst git://people.freedesktop.org/~mlankhorst/linux
        git fetch --no-tags mlankhorst xe
        git checkout 0d5fc1553e186ef20954dcc179aab3f6a5bb2644
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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 >>):

   drivers/gpu/drm/xe/xe_ggtt.c: In function 'xe_ggtt_set_pte':
>> drivers/gpu/drm/xe/xe_ggtt.c:49:2: error: implicit declaration of function 'writeq'; did you mean 'writel'? [-Werror=implicit-function-declaration]
      49 |  writeq(pte, &ggtt->gsm[addr >> GEN8_PTE_SHIFT]);
         |  ^~~~~~
         |  writel
   cc1: all warnings being treated as errors


vim +49 drivers/gpu/drm/xe/xe_ggtt.c

    43	
    44	static void xe_ggtt_set_pte(struct xe_ggtt *ggtt, uint64_t addr, uint64_t pte)
    45	{
    46		XE_BUG_ON(addr & GEN8_PTE_MASK);
    47		XE_BUG_ON(addr > ggtt->size);
    48	
  > 49		writeq(pte, &ggtt->gsm[addr >> GEN8_PTE_SHIFT]);
    50	}
    51	

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

             reply	other threads:[~2022-01-26 12:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-26 12:55 kernel test robot [this message]
2022-01-26 12:55 ` [mlankhorst:xe 57/165] drivers/gpu/drm/xe/xe_ggtt.c:49:2: error: implicit declaration of function 'writeq'; did you mean 'writel'? kernel test robot

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=202201262033.KJ6X5rbX-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.