tree:
https://github.com/intel/linux-intel-lts.git 5.10/yocto
head: cf38367ce677bada8f362a6482c80b2d30b64d1c
commit: 27ae0fd03f48a0699381fafa866f6977b3c3fcdc [19431/19822] drm/i915/guc: Implement
multi-lrc submission
config: x86_64-randconfig-s021-20211219
(
https://download.01.org/0day-ci/archive/20211219/202112190517.TskdtOA4-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
#
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 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/i915/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c: note: in included file (through
drivers/gpu/drm/i915/gt/intel_gt_requests.h):
/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h:406:9: sparse: sparse: preprocessor
token offsetof redefined
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c: note: in included file (through
include/uapi/linux/posix_types.h, include/uapi/linux/types.h, include/linux/types.h,
...):
include/linux/stddef.h:17:9: sparse: this was the original definition
> drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c:1470:6: sparse:
sparse: symbol 'need_tasklet' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org