tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: ae25dd46c5c2fecb4868af3a91418dea519deac9
commit: ae25dd46c5c2fecb4868af3a91418dea519deac9 [1/1] CHROMIUM: Import latest evdi
driver
config: i386-randconfig-s002-20211113 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.10
git checkout ae25dd46c5c2fecb4868af3a91418dea519deac9
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/evdi/
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/evdi/evdi_painter.c:686:12: sparse: sparse:
symbol 'dpms_str' was not declared. Should it be static?
drivers/gpu/drm/evdi/evdi_painter.c:965:49: sparse: sparse: incorrect type in argument 2
(different address spaces) @@ expected void const [noderef] __user *edid_data @@
got unsigned char const *[noderef] edid @@
drivers/gpu/drm/evdi/evdi_painter.c:965:49: sparse: expected void const [noderef]
__user *edid_data
drivers/gpu/drm/evdi/evdi_painter.c:965:49: sparse: got unsigned char const
*[noderef] edid
drivers/gpu/drm/evdi/evdi_painter.c:1333:54: sparse: sparse: incorrect type in argument
2 (different address spaces) @@ expected void const [noderef] __user *from @@ got
unsigned char const *[noderef] buffer @@
drivers/gpu/drm/evdi/evdi_painter.c:1333:54: sparse: expected void const [noderef]
__user *from
drivers/gpu/drm/evdi/evdi_painter.c:1333:54: sparse: got unsigned char const
*[noderef] buffer
drivers/gpu/drm/evdi/evdi_painter.c:965:46: sparse: sparse: dereference of noderef
expression
drivers/gpu/drm/evdi/evdi_painter.c:1333:51: sparse: sparse: dereference of noderef
expression
drivers/gpu/drm/evdi/evdi_painter.c:1333:51: sparse: sparse: dereference of noderef
expression
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