Re: [PATCH] drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()

2024-09-30 Thread Boris Brezillon
On Mon, 30 Sep 2024 18:16:04 +0200 (CEST) Julia Lawall wrote: > On Mon, 30 Sep 2024, Boris Brezillon wrote: > > > The group variable can't be used to retrieve ptdev in our second loop, > > because it might be uninitialized or point to a group that's already > > gone. Get the ptdev object from th

Re: [PATCH] drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()

2024-09-30 Thread Julia Lawall
On Mon, 30 Sep 2024, Boris Brezillon wrote: > The group variable can't be used to retrieve ptdev in our second loop, > because it might be uninitialized or point to a group that's already > gone. Get the ptdev object from the scheduler instead. Won't it always be pointing to some random place

[PATCH] drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()

2024-09-30 Thread Boris Brezillon
The group variable can't be used to retrieve ptdev in our second loop, because it might be uninitialized or point to a group that's already gone. Get the ptdev object from the scheduler instead. Fixes: d72f049087d4 ("drm/panthor: Allow driver compilation") Reported-by: kernel test robot Reported-