mirror of
https://github.com/torvalds/linux.git
synced 2026-04-21 08:13:56 -04:00
drm/ttm/tests: Use u32 and u64 over uint*_t types
Update the tests and helpers to use unsigned kernel types. Signed-off-by: Karolina Stolarek <karolina.stolarek@intel.com> Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/b36d71de78990ac5be1538cc3f735f7e40618cfe.1718192625.git.karolina.stolarek@intel.com
This commit is contained in:
committed by
Arunpravin Paneer Selvam
parent
be487a2989
commit
07430fa524
@@ -42,8 +42,7 @@ static struct ttm_placement mock_placement = {
|
||||
.placement = &mock2_place,
|
||||
};
|
||||
|
||||
static struct ttm_tt *ttm_tt_simple_create(struct ttm_buffer_object *bo,
|
||||
uint32_t page_flags)
|
||||
static struct ttm_tt *ttm_tt_simple_create(struct ttm_buffer_object *bo, u32 page_flags)
|
||||
{
|
||||
struct ttm_tt *tt;
|
||||
|
||||
@@ -197,8 +196,7 @@ struct ttm_buffer_object *ttm_bo_kunit_init(struct kunit *test,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ttm_bo_kunit_init);
|
||||
|
||||
struct ttm_place *ttm_place_kunit_init(struct kunit *test,
|
||||
uint32_t mem_type, uint32_t flags)
|
||||
struct ttm_place *ttm_place_kunit_init(struct kunit *test, u32 mem_type, u32 flags)
|
||||
{
|
||||
struct ttm_place *place;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user