diff options
| author | Matthias Kaehlcke <[email protected]> | 2022-07-28 15:54:41 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2022-07-29 04:48:12 +0000 |
| commit | 27603a606fda0806d7c08914bc976931aa42020e (patch) | |
| tree | 9eff535a5b8a9f6fa46eb4cd31c176b242eafd82 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | kasan: test: Silence GCC 12 warnings (diff) | |
| download | kernel-27603a606fda0806d7c08914bc976931aa42020e.tar.gz kernel-27603a606fda0806d7c08914bc976931aa42020e.zip | |
dm: verity-loadpin: Drop use of dm_table_get_num_targets()
Commit 2aec377a2925 ("dm table: remove dm_table_get_num_targets()
wrapper") in linux-dm/for-next removed the function
dm_table_get_num_targets() which is used by verity-loadpin. Access
table->num_targets directly instead of using the defunct wrapper.
Fixes: b6c1c5745ccc ("dm: Add verity helpers for LoadPin")
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Matthias Kaehlcke <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/20220728085412.1.I242d21b378410eb6f9897a3160efb56e5608c59d@changeid
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
