[PATCH v3] drm/i915/gt: Use kmemdup_array instead of kmemdup for multiple allocation

Andi Shyti andi.shyti at linux.intel.com
Fri Aug 23 23:32:10 UTC 2024


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 at vivo.com>
> Reviewed-by: Jani Nikula <jani.nikula at intel.com>
> Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>

merged to drm-intel-gt-next.

Thanks,
Andi


More information about the dri-devel mailing list