aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2021-04-06 19:40:39 +0000
committerAlex Williamson <[email protected]>2021-04-12 16:36:00 +0000
commit383987fd15ba8f37bdc20994dadeb13df76342d6 (patch)
tree12377bd6d87875cd70941388554983e27fd1c212 /lib/dump_stack.c
parentvfio/gvt: Make DRM_I915_GVT depend on VFIO_MDEV (diff)
downloadkernel-383987fd15ba8f37bdc20994dadeb13df76342d6.tar.gz
kernel-383987fd15ba8f37bdc20994dadeb13df76342d6.zip
vfio/gvt: Use mdev_get_type_group_id()
intel_gvt_init_vgpu_type_groups() makes gvt->types 1:1 with the supported_type_groups array, so the type_group_id is also the index into gvt->types. Use it directly and remove the string matching. Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Message-Id: <[email protected]> Reviewed-by: Zhenyu Wang <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions