linux_dsm_epyc7002/drivers/gpu/drm/virtio
Arnd Bergmann d549f545e6 drm/virtio: use %llu format string form atomic64_t
The virtgpu driver prints the last_seq variable using the %ld or
%lu format string, which does not work correctly on all architectures
and causes this compiler warning on ARM:

drivers/gpu/drm/virtio/virtgpu_fence.c: In function 'virtio_timeline_value_str':
drivers/gpu/drm/virtio/virtgpu_fence.c:64:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
  snprintf(str, size, "%lu", atomic64_read(&fence->drv->last_seq));
                      ^
drivers/gpu/drm/virtio/virtgpu_debugfs.c: In function 'virtio_gpu_debugfs_irq_info':
drivers/gpu/drm/virtio/virtgpu_debugfs.c:37:16: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=]
  seq_printf(m, "fence %ld %lld\n",
                ^

In order to avoid the warnings, this changes the format strings to %llu
and adds a cast to u64, which makes it work the same way everywhere.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2015-10-16 11:36:36 +10:00
..
Kconfig
Makefile
virtgpu_debugfs.c drm/virtio: use %llu format string form atomic64_t 2015-10-16 11:36:36 +10:00
virtgpu_display.c
virtgpu_drm_bus.c Add virtio-vga bits. 2015-06-16 11:22:40 +02:00
virtgpu_drv.c
virtgpu_drv.h virtio-gpu: add locking for vbuf pool 2015-06-16 11:22:41 +02:00
virtgpu_fb.c drm/virtio: Use new drm_fb_helper functions 2015-08-06 14:13:07 +02:00
virtgpu_fence.c drm/virtio: use %llu format string form atomic64_t 2015-10-16 11:36:36 +10:00
virtgpu_gem.c
virtgpu_kms.c drm/virtgpu: initialise fbdev after getting initial display info 2015-06-16 11:22:40 +02:00
virtgpu_object.c
virtgpu_plane.c
virtgpu_ttm.c drm/virtio: remove some dead code 2015-06-11 13:16:35 +10:00
virtgpu_vq.c virtio-gpu: add locking for vbuf pool 2015-06-16 11:22:41 +02:00