Re: [PATCH v3] drm/i915/gt: Use kmemdup_array instead of kmemdup for multiple allocation
From: 于佼良
Date: Sun Aug 25 2024 - 21:56:22 EST
在 2024/8/24 7:32, Andi Shyti 写道:
> [Some people who received this message don't often get email from andi.shyti@xxxxxxxxxxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> Hi Yu,
>
> On Wed, Aug 21, 2024 at 10:41:27AM +0800, Yu Jiaoliang wrote:
>> Let the kememdup_array() take care about multiplication and possible
>> overflows.
>>
>> v2:
>> - Change subject
>> - Leave one blank line between the commit log and the tag section
>> - Fix code alignment issue
>>
>> v3:
>> - Fix code alignment
>> - Apply the patch on a clean drm-tip
>>
>> Signed-off-by: Yu Jiaoliang <yujiaoliang@xxxxxxxx>
>> Reviewed-by: Jani Nikula <jani.nikula@xxxxxxxxx>
>> Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxxxxxxxx>
> merged to drm-intel-gt-next.
>
> Thanks,
> Andi
Hi Andi,
Thanks for your review.
Best Regards,
Yu