* [kraxel:drm-qemu-next 6/7] drivers/gpu/drm/virtio/virtgpu_vq.c:654:70: sparse: sparse: incorrect type in argument 3 (different base types)
@ 2023-02-13 7:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-13 7:00 UTC (permalink / raw)
To: Vivek Kasireddy; +Cc: oe-kbuild-all, Gerd Hoffmann
tree: git://git.kraxel.org/linux drm-qemu-next
head: 678d45faf3684f4ec694cc19b70db7f2a0c9c841
commit: 347d001a65ba84c02ebd403000bf4e524cf678e6 [6/7] drm/virtio: Attach and set suggested_x/y properties for the connector
config: i386-randconfig-s003 (https://download.01.org/0day-ci/archive/20230213/202302131424.wBEsydUG-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
git remote add kraxel git://git.kraxel.org/linux
git fetch --no-tags kraxel drm-qemu-next
git checkout 347d001a65ba84c02ebd403000bf4e524cf678e6
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 olddefconfig
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/virtio/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302131424.wBEsydUG-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/virtio/virtgpu_vq.c:654:70: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned long long [usertype] val @@ got restricted __le32 [usertype] x @@
drivers/gpu/drm/virtio/virtgpu_vq.c:654:70: sparse: expected unsigned long long [usertype] val
drivers/gpu/drm/virtio/virtgpu_vq.c:654:70: sparse: got restricted __le32 [usertype] x
>> drivers/gpu/drm/virtio/virtgpu_vq.c:656:70: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned long long [usertype] val @@ got restricted __le32 [usertype] y @@
drivers/gpu/drm/virtio/virtgpu_vq.c:656:70: sparse: expected unsigned long long [usertype] val
drivers/gpu/drm/virtio/virtgpu_vq.c:656:70: sparse: got restricted __le32 [usertype] y
vim +654 drivers/gpu/drm/virtio/virtgpu_vq.c
647
648 static void virtio_gpu_update_output_position(struct virtio_gpu_output *output)
649 {
650 struct drm_connector *connector = &output->conn;
651 struct drm_device *dev = connector->dev;
652
653 drm_object_property_set_value(&connector->base,
> 654 dev->mode_config.suggested_x_property, output->info.r.x);
655 drm_object_property_set_value(&connector->base,
> 656 dev->mode_config.suggested_y_property, output->info.r.y);
657 }
658
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-13 7:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-13 7:00 [kraxel:drm-qemu-next 6/7] drivers/gpu/drm/virtio/virtgpu_vq.c:654:70: sparse: sparse: incorrect type in argument 3 (different base types) kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.