Re: [PATCH] drm/i195: Fix format string truncation warning

From: Jani Nikula

Date: Fri Dec 05 2025 - 06:19:02 EST


On Fri, 05 Dec 2025, Tvrtko Ursulin <tursulin@xxxxxxxxxxx> wrote:
> On 05/12/2025 10:48, Ard Biesheuvel wrote:
>> OK, so something like
>>
>> --- a/drivers/gpu/drm/i915/intel_memory_region.h
>> +++ b/drivers/gpu/drm/i915/intel_memory_region.h
>> @@ -72,7 +72,7 @@ struct intel_memory_region {
>> u16 instance;
>> enum intel_region_id id;
>> char name[16];
>> - char uabi_name[16];
>> + char uabi_name[20];
>> bool private; /* not for userspace */
>>
>> struct {
>
> Yes please. There is only two of those objects at majority of systems,
> and 3-4 on a few discrete cards supported by i915, so no big deal to
> grow them a tiny bit.

For v2, please also fix the subject prefix: drm/i915.

BR,
Jani.


--
Jani Nikula, Intel