linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [mlankhorst:xe 57/165] drivers/gpu/drm/xe/xe_ggtt.c:49:2: error: implicit declaration of function 'writeq'; did you mean 'writel'?
@ 2022-01-26 12:55 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-26 12:55 UTC (permalink / raw)
  To: Jason Ekstrand; +Cc: kbuild-all, linux-kernel, Maarten Lankhorst

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-26 12:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).