All of lore.kernel.org
 help / color / mirror / Atom feed
* [agd5f:drm-next 180/218] drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c:108:9: sparse: sparse: incompatible types in conditional expression (different base types):
@ 2023-09-01 22:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-01 22:18 UTC (permalink / raw)
  To: Lang Yu; +Cc: oe-kbuild-all, Alex Deucher, Huang Rui

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   173df1eaa8a91ab0b5352d1efb4192e3e5dc6c8f
commit: 9d4346bdbc6484a1814011315827c258509b483c [180/218] drm/amdgpu: add VPE 6.1.0 support
config: i386-randconfig-062-20230902 (https://download.01.org/0day-ci/archive/20230902/202309020608.FwP8QMht-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230902/202309020608.FwP8QMht-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309020608.FwP8QMht-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c: note: in included file (through drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, drivers/gpu/drm/amd/amdgpu/amdgpu.h):
   drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:315:49: sparse: sparse: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c:108:9: sparse: sparse: incompatible types in conditional expression (different base types):
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c:108:9: sparse:    void
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c:108:9: sparse:    int

vim +108 drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c

    93	
    94	static int vpe_early_init(void *handle)
    95	{
    96		struct amdgpu_device *adev = (struct amdgpu_device *)handle;
    97		struct amdgpu_vpe *vpe = &adev->vpe;
    98	
    99		switch (adev->ip_versions[VPE_HWIP][0]) {
   100		case IP_VERSION(6, 1, 0):
   101			vpe_v6_1_set_funcs(vpe);
   102			break;
   103		default:
   104			return -EINVAL;
   105		}
   106	
   107		vpe_set_ring_funcs(adev);
 > 108		vpe_set_regs(vpe);
   109	
   110		return 0;
   111	}
   112	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2023-09-01 22:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-01 22:18 [agd5f:drm-next 180/218] drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c:108:9: sparse: sparse: incompatible types in conditional expression (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.