On Mon, Dec 15, 2025 at 11:54:57AM +0000, Lukas Zapolskas wrote:
>  int panthor_group_get_state(struct panthor_file *pfile,
> -                         struct drm_panthor_group_get_state *get_state)
> +                         struct drm_panthor_group_get_state *get_state,
> +                         struct drm_panthor_queue_event *events, u32 count)
>  {
>       struct panthor_group_pool *gpool = pfile->groups;
>       struct panthor_device *ptdev = pfile->ptdev;
>       struct panthor_scheduler *sched = ptdev->scheduler;
> -     struct panthor_group *group;
> +     struct panthor_group *group = NULL;

Initialization is not needed. group is set as the very first thing.

> +     u32 fault_count;
>  
>       group = group_from_handle(gpool, get_state->group_handle);
>       if (!group)
>               return -EINVAL;
>  

Reply via email to