Re: [PATCH v2] sparc: Replace one-element array with flexible array member

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024-11-12 12:03, Thorsten Blum wrote:
> On 11. Nov 2024, at 21:47, Thorsten Blum wrote:
>> Replace the deprecated one-element array with a modern flexible array
>> member in the struct hvtramp_descr.
>>
>> Additionally, 15 unnecessary bytes were allocated for hdesc, but instead
>> of fixing the parentheses in the open-coded version, use struct_size()
>> to calculate the correct number of bytes.
>>
>> Link: https://github.com/KSPP/linux/issues/79
>> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
>> ---
> 
> If this justifies a Fixes: tag, it should probably be:
> 
> Fixes: 64658743fdd4 ("[SPARC64]: Remove most limitations to kernel image size.")

Reviewed-by: Andreas Larsson <andreas@xxxxxxxxxxx>

Picking this up to my for-next.

Thanks,
Andreas





[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux