[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201261503.3tLspdsf-lkp@intel.com>
Date: Wed, 26 Jan 2022 15:08:47 +0800
From: kernel test robot <lkp@...el.com>
To: Dave Airlie <airlied@...hat.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>
Subject: [mlankhorst:xe 40/165] drivers/gpu/drm/xe/xe_mmio.h:28:9: error:
implicit declaration of function 'readq'; did you mean 'readl'?
tree: git://people.freedesktop.org/~mlankhorst/linux xe
head: 4bc3039b4403c76a13d58f7ac1f7c07dca6f88d8
commit: b438fc88b386c9beafe4bfdce3986025b59ae64d [40/165] xe/mmio: add 64-bit register read
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220126/202201261503.3tLspdsf-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 b438fc88b386c9beafe4bfdce3986025b59ae64d
# 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@...el.com>
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/xe/xe_device.c:17:
drivers/gpu/drm/xe/xe_mmio.h: In function 'xe_mmio_read64':
>> drivers/gpu/drm/xe/xe_mmio.h:28:9: error: implicit declaration of function 'readq'; did you mean 'readl'? [-Werror=implicit-function-declaration]
28 | return readq(xe->mmio.regs + reg);
| ^~~~~
| readl
cc1: all warnings being treated as errors
--
In file included from drivers/gpu/drm/xe/xe_irq.c:9:
drivers/gpu/drm/xe/xe_mmio.h: In function 'xe_mmio_read64':
>> drivers/gpu/drm/xe/xe_mmio.h:28:9: error: implicit declaration of function 'readq'; did you mean 'readl'? [-Werror=implicit-function-declaration]
28 | return readq(xe->mmio.regs + reg);
| ^~~~~
| readl
drivers/gpu/drm/xe/xe_irq.c: At top level:
drivers/gpu/drm/xe/xe_irq.c:30:6: error: no previous prototype for 'gen11_gt_irq_reset' [-Werror=missing-prototypes]
30 | void gen11_gt_irq_reset(struct xe_device *xe)
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +28 drivers/gpu/drm/xe/xe_mmio.h
25
26 static inline uint64_t xe_mmio_read64(struct xe_device *xe, uint32_t reg)
27 {
> 28 return readq(xe->mmio.regs + reg);
29 }
30
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists