Re: [PATCH v2 4/8] vdso: Introduce vdso/page.h
From: Vincenzo Frascino
Date: Tue Sep 24 2024 - 10:32:36 EST
On 24/09/2024 15:28, Christophe Leroy wrote:
> 'fault' is an 'u32' and 'mask' should be agnostic so the format should
> be %x not %lx I think:
>
> diff --git a/drivers/gpu/drm/i915/gt/intel_gt.c
> b/drivers/gpu/drm/i915/gt/intel_gt.c
> index a6c69a706fd7..352ef5e1c615 100644
> --- a/drivers/gpu/drm/i915/gt/intel_gt.c
> +++ b/drivers/gpu/drm/i915/gt/intel_gt.c
> @@ -308,7 +308,7 @@ static void gen6_check_faults(struct intel_gt *gt)
> fault = GEN6_RING_FAULT_REG_READ(engine);
> if (fault & RING_FAULT_VALID) {
> gt_dbg(gt, "Unexpected fault\n"
> - "\tAddr: 0x%08lx\n"
> + "\tAddr: 0x%08x\n"
> "\tAddress space: %s\n"
> "\tSource ID: %d\n"
> "\tType: %d\n",
Good catch Christoph. It makes sense, I did not notice the "l". I will add it to
my series.
--
Regards,
Vincenzo