Commit 4ece8fc4 authored by Matthew Auld's avatar Matthew Auld Committed by Maxime Ripard

drm/tests/buddy: fix print format

This will report a build warning once we have: 806cb227 ("kunit:
Annotate _MSG assertion variants with gnu printf specifiers").
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Fixes: c7070332 ("drm/tests/drm_buddy: add alloc_range_bias test")
Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Cc: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Reviewed-by: default avatarArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Link: https://lore.kernel.org/r/20240229095225.242795-2-matthew.auld@intel.comSigned-off-by: default avatarMaxime Ripard <mripard@kernel.org>
parent 317f86dc
......@@ -189,7 +189,7 @@ static void drm_test_buddy_alloc_range_bias(struct kunit *test)
&allocated,
DRM_BUDDY_RANGE_ALLOCATION),
"buddy_alloc failed with bias(%x-%x), size=%u, ps=%u\n",
bias_start, bias_end, size);
bias_start, bias_end, size, ps);
bias_rem -= size;
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment