On Thu, 10 Sep 2026, Lalit Shankar Chowdhury <[email protected]> wrote: > Replace the remaining kmalloc_array instance with kmalloc_objs. > > Signed-off-by: Lalit Shankar Chowdhury <[email protected]>
Thanks, pushed to drm-intel-next. BR, Jani. > --- > drivers/gpu/drm/i915/display/intel_fb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_fb.c > b/drivers/gpu/drm/i915/display/intel_fb.c > index 1c0859d5f829..c3e4c3f6d8cf 100644 > --- a/drivers/gpu/drm/i915/display/intel_fb.c > +++ b/drivers/gpu/drm/i915/display/intel_fb.c > @@ -596,7 +596,7 @@ u64 *intel_fb_plane_get_modifiers(struct intel_display > *display, > count++; > } > > - list = kmalloc_array(count, sizeof(*list), GFP_KERNEL); > + list = kmalloc_objs(*list, count); > if (drm_WARN_ON(display->drm, !list)) > return NULL; -- Jani Nikula, Intel
