All of lore.kernel.org
 help / color / mirror / Atom feed
* [jgunthorpe:pr/3 32/49] drivers/gpu/drm/i915/gvt/gvt.c:84: undefined reference to `mtype_get_parent_dev'
@ 2021-03-02  7:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-02  7:51 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2308 bytes --]

tree:   https://github.com/jgunthorpe/linux pr/3
head:   149ed847a48641c2da496c00eec4d077d1ce61a6
commit: 2d8f342fb5110d5972fee6768e77a89db82375b3 [32/49] vfio/mdev: Correct the function signatures for the mdev_type_attributes
config: x86_64-randconfig-a005-20210302 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/jgunthorpe/linux/commit/2d8f342fb5110d5972fee6768e77a89db82375b3
        git remote add jgunthorpe https://github.com/jgunthorpe/linux
        git fetch --no-tags jgunthorpe pr/3
        git checkout 2d8f342fb5110d5972fee6768e77a89db82375b3
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   ld: drivers/gpu/drm/i915/gvt/gvt.o: in function `description_show':
>> drivers/gpu/drm/i915/gvt/gvt.c:84: undefined reference to `mtype_get_parent_dev'
>> ld: drivers/gpu/drm/i915/gvt/gvt.c:86: undefined reference to `mtype_get_type_group_id'
   ld: drivers/gpu/drm/i915/gvt/gvt.o: in function `available_instances_show':
   drivers/gpu/drm/i915/gvt/gvt.c:63: undefined reference to `mtype_get_parent_dev'
   ld: drivers/gpu/drm/i915/gvt/gvt.c:65: undefined reference to `mtype_get_type_group_id'


vim +84 drivers/gpu/drm/i915/gvt/gvt.c

    79	
    80	static ssize_t description_show(struct mdev_type *mtype,
    81					struct mdev_type_attribute *attr, char *buf)
    82	{
    83		struct intel_vgpu_type *type;
  > 84		void *gvt = kdev_to_i915(mtype_get_parent_dev(mtype))->gvt;
    85	
  > 86		type = intel_gvt_find_vgpu_type(gvt, mtype_get_type_group_id(mtype));
    87		if (!type)
    88			return 0;
    89	
    90		return sprintf(buf, "low_gm_size: %dMB\nhigh_gm_size: %dMB\n"
    91			       "fence: %d\nresolution: %s\n"
    92			       "weight: %d\n",
    93			       BYTES_TO_MB(type->low_gm_size),
    94			       BYTES_TO_MB(type->high_gm_size),
    95			       type->fence, vgpu_edid_str(type->resolution),
    96			       type->weight);
    97	}
    98	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37810 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-02  7:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-02  7:51 [jgunthorpe:pr/3 32/49] drivers/gpu/drm/i915/gvt/gvt.c:84: undefined reference to `mtype_get_parent_dev' 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.