From: kernel test robot <lkp@intel.com>
To: Vivek Kasireddy <vivek.kasireddy@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, Gerd Hoffmann <kraxel@redhat.com>
Subject: [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)
Date: Mon, 13 Feb 2023 15:00:08 +0800 [thread overview]
Message-ID: <202302131424.wBEsydUG-lkp@intel.com> (raw)
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
reply other threads:[~2023-02-13 7:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202302131424.wBEsydUG-lkp@intel.com \
--to=lkp@intel.com \
--cc=kraxel@redhat.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=vivek.kasireddy@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.