Hi Matthew,
FYI, the error/warning still remains.
tree:
https://github.com/intel/linux-intel-lts.git 5.10/yocto
head: 92a130c4f25aedb3994ab18e243b82623c83e280
commit: 27ae0fd03f48a0699381fafa866f6977b3c3fcdc [19431/20367] drm/i915/guc: Implement
multi-lrc submission
config: i386-defconfig
(
https://download.01.org/0day-ci/archive/20220111/202201110408.soGswMkj-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/intel/linux-intel-lts/commit/27ae0fd03f48a0699381fafa8...
git remote add intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-lts 5.10/yocto
git checkout 27ae0fd03f48a0699381fafa866f6977b3c3fcdc
# 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(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/i915/i915_drv.h:38,
from drivers/gpu/drm/i915/gt/intel_context.h:14,
from drivers/gpu/drm/i915/gem/i915_gem_context.h:12,
from drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c:8:
include/linux/io-mapping.h: In function 'io_mapping_map_local_wc':
include/linux/io-mapping.h:88:9: error: implicit declaration of function
'__iomap_local_pfn_prot'; did you mean '__kmap_local_pfn_prot'?
[-Werror=implicit-function-declaration]
88 | return __iomap_local_pfn_prot(PHYS_PFN(phys_addr), mapping->prot);
| ^~~~~~~~~~~~~~~~~~~~~~
| __kmap_local_pfn_prot
include/linux/io-mapping.h:88:9: error: returning 'int' from a function with
return type 'void *' makes pointer from integer without a cast
[-Werror=int-conversion]
88 | return __iomap_local_pfn_prot(PHYS_PFN(phys_addr), mapping->prot);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c: At top level:
> drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c:1470:6: error:
no previous prototype for 'need_tasklet' [-Werror=missing-prototypes]
1470 | bool need_tasklet(struct intel_guc *guc, struct i915_request *rq)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/need_tasklet +1470 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
1469
1470 bool need_tasklet(struct intel_guc *guc, struct i915_request
*rq)
1471 {
1472 struct i915_sched_engine *sched_engine = rq->engine->sched_engine;
1473 struct intel_context *ce = request_to_scheduling_context(rq);
1474
1475 return submission_disabled(guc) || guc->stalled_request ||
1476 !i915_sched_engine_is_empty(sched_engine) ||
1477 !lrc_desc_registered(guc, ce->guc_id.id);
1478 }
1479
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org