[intel-gvt-linux:topic/gvt-xengt 25/45] drivers/gpu/drm/i915/gvt/migrate.c:490:3: warning: initialization makes integer from pointer without a cast

kbuild test robot lkp at intel.com
Tue Aug 6 11:05:13 UTC 2019


tree:   https://github.com/intel/gvt-linux topic/gvt-xengt
head:   2fb2c8e06ea0ffc81376f05208e1d98d71a19c67
commit: 43514087dbcc7ae99a5ca570f6a11e291e828232 [25/45] drm/i915/gvt: Implement vGPU status save and restore through new VFIO subregion VFIO_REGION_SUBTYPE_DEVICE_STATE
config: x86_64-randconfig-a003-201930 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2
reproduce:
        git checkout 43514087dbcc7ae99a5ca570f6a11e291e828232
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/i915/gvt/migrate.c: In function 'sreg_save':
   drivers/gpu/drm/i915/gvt/migrate.c:291:24: error: 'struct intel_vgpu_mmio' has no member named 'sreg'
     void *src = vgpu->mmio.sreg;
                           ^
   drivers/gpu/drm/i915/gvt/migrate.c: In function 'sreg_load':
   drivers/gpu/drm/i915/gvt/migrate.c:306:25: error: 'struct intel_vgpu_mmio' has no member named 'sreg'
     void *dest = vgpu->mmio.sreg;
                            ^
   drivers/gpu/drm/i915/gvt/migrate.c: In function 'workload_load':
>> drivers/gpu/drm/i915/gvt/migrate.c:490:3: warning: initialization makes integer from pointer without a cast
      off = i915_mmio_reg_offset(RING_ELSP(engine));
      ^
   drivers/gpu/drm/i915/gvt/migrate.c:490:3: warning: (near initialization for '(anonymous).reg')

vim +490 drivers/gpu/drm/i915/gvt/migrate.c

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 28555 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20190806/ab037e28/attachment-0001.gz>


More information about the intel-gvt-dev mailing list