* [PATCH] drm/tests/buddy: fix print format
@ 2024-02-29 9:52 Matthew Auld
2024-02-29 10:30 ` Paneer Selvam, Arunpravin
2024-03-07 8:30 ` Maxime Ripard
0 siblings, 2 replies; 4+ messages in thread
From: Matthew Auld @ 2024-02-29 9:52 UTC (permalink / raw)
To: dri-devel
Cc: Stephen Rothwell, Arunpravin Paneer Selvam, Christian König
This will report a build warning once we have: 806cb2270237 ("kunit:
Annotate _MSG assertion variants with gnu printf specifiers").
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: c70703320e55 ("drm/tests/drm_buddy: add alloc_range_bias test")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Cc: Christian König <christian.koenig@amd.com>
---
drivers/gpu/drm/tests/drm_buddy_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/tests/drm_buddy_test.c b/drivers/gpu/drm/tests/drm_buddy_test.c
index be2d9d7764be..484360c7e1f6 100644
--- a/drivers/gpu/drm/tests/drm_buddy_test.c
+++ b/drivers/gpu/drm/tests/drm_buddy_test.c
@@ -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;
/*
--
2.43.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/tests/buddy: fix print format
2024-02-29 9:52 [PATCH] drm/tests/buddy: fix print format Matthew Auld
@ 2024-02-29 10:30 ` Paneer Selvam, Arunpravin
2024-03-07 8:30 ` Maxime Ripard
1 sibling, 0 replies; 4+ messages in thread
From: Paneer Selvam, Arunpravin @ 2024-02-29 10:30 UTC (permalink / raw)
To: Matthew Auld, dri-devel; +Cc: Stephen Rothwell, Christian König
[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]
Reviewed-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
On 2/29/2024 3:22 PM, Matthew Auld wrote:
> This will report a build warning once we have: 806cb2270237 ("kunit:
> Annotate _MSG assertion variants with gnu printf specifiers").
>
> Reported-by: Stephen Rothwell<sfr@canb.auug.org.au>
> Fixes: c70703320e55 ("drm/tests/drm_buddy: add alloc_range_bias test")
> Signed-off-by: Matthew Auld<matthew.auld@intel.com>
> Cc: Arunpravin Paneer Selvam<Arunpravin.PaneerSelvam@amd.com>
> Cc: Christian König<christian.koenig@amd.com>
> ---
> drivers/gpu/drm/tests/drm_buddy_test.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/tests/drm_buddy_test.c b/drivers/gpu/drm/tests/drm_buddy_test.c
> index be2d9d7764be..484360c7e1f6 100644
> --- a/drivers/gpu/drm/tests/drm_buddy_test.c
> +++ b/drivers/gpu/drm/tests/drm_buddy_test.c
> @@ -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;
>
> /*
[-- Attachment #2: Type: text/html, Size: 2016 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/tests/buddy: fix print format
2024-02-29 9:52 [PATCH] drm/tests/buddy: fix print format Matthew Auld
2024-02-29 10:30 ` Paneer Selvam, Arunpravin
@ 2024-03-07 8:30 ` Maxime Ripard
2024-03-07 8:46 ` Matthew Auld
1 sibling, 1 reply; 4+ messages in thread
From: Maxime Ripard @ 2024-03-07 8:30 UTC (permalink / raw)
To: dri-devel, Matthew Auld
Cc: Stephen Rothwell, Arunpravin Paneer Selvam, Christian König
On Thu, 29 Feb 2024 09:52:26 +0000, Matthew Auld wrote:
> This will report a build warning once we have: 806cb2270237 ("kunit:
> Annotate _MSG assertion variants with gnu printf specifiers").
>
>
Applied to drm/drm-misc (drm-misc-fixes).
Thanks!
Maxime
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/tests/buddy: fix print format
2024-03-07 8:30 ` Maxime Ripard
@ 2024-03-07 8:46 ` Matthew Auld
0 siblings, 0 replies; 4+ messages in thread
From: Matthew Auld @ 2024-03-07 8:46 UTC (permalink / raw)
To: Maxime Ripard, dri-devel
Cc: Stephen Rothwell, Arunpravin Paneer Selvam, Christian König
On 07/03/2024 08:30, Maxime Ripard wrote:
> On Thu, 29 Feb 2024 09:52:26 +0000, Matthew Auld wrote:
>> This will report a build warning once we have: 806cb2270237 ("kunit:
>> Annotate _MSG assertion variants with gnu printf specifiers").
>>
>>
>
> Applied to drm/drm-misc (drm-misc-fixes).
Thanks.
>
> Thanks!
> Maxime
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-07 8:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-29 9:52 [PATCH] drm/tests/buddy: fix print format Matthew Auld
2024-02-29 10:30 ` Paneer Selvam, Arunpravin
2024-03-07 8:30 ` Maxime Ripard
2024-03-07 8:46 ` Matthew Auld
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.