Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/msm: inaccurate commit message and missing Fixes tag
--

commit 21999ea1c8eea57d5acd6db9fdbfa393532b555c
Author: Tvrtko Ursulin <[email protected]>

> drm/msm: Check drm_sched_entity_init() return value
>
> Start checking drm_sched_entity_init() return value in preparation of
> making that API a bit stricter.
>
> No functional change intended as the failure path should never trigger in
> this driver given drm_sched_init() happens before and it's failure is
> always fatal.
>
> Signed-off-by: Tvrtko Ursulin <[email protected]>
> Cc: Rob Clark <[email protected]>
> Cc: Dmitry Baryshkov <[email protected]>
> Cc: [email protected]
> Cc: [email protected]

[Severity: Low]
Is the "no functional change intended" claim accurate here?

drm_sched_entity_init() allocates entity->stats via
drm_sched_entity_stats_new() and returns -ENOMEM on allocation failure even
when drm_sched_init() succeeded.  Previously, ignoring that error left
queue->entity zeroed while still registering the queue, leading to a NULL
pointer dereference in drm_sched_entity_stats_put() on teardown.

Since this fixes a reachable allocation-failure crash, should the commit
message be updated and include:

  Fixes: 92395af63a99 ("drm/msm: Add VM_BIND submitqueue")

-- 
Sashiko AI review · 
https://sashiko.dev/#/patchset/[email protected]?part=4

Reply via email to