Let the kememdup_array() take care about multiplication and possible
overflows.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/i915/gt/intel_workarounds.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_workarounds.c
b/drivers/gpu/drm/i915/g
Hi Yi,
Please, next time check with "git drivers/gpu/drm/i915/gt" to
better understand the patch formatting.
The title should be something like:
drm/i915/gt: Switch to use kmemdup_array()
But sounds more grammatically correct
drm/i915/gt: Use kmemdup_array instead of kmemdup for multiple
On Tue, 20 Aug 2024, Yu Jiaoliang wrote:
> Let the kememdup_array() take care about multiplication and possible
> overflows.
> Signed-off-by: Yu Jiaoliang
For future reference, please look at git log for the file instead of
inventing subject prefixes.
There should be a blank line between commit