On Tue, Nov 24, 2026 at 10:51:24PM +0000, [email protected] wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue to consider:
> - [Low] drm/edid: commit subject mismatches
>   drm_displayid_get_product_id()
> --
> 
> commit 4452aea3cbb2a5afd7ef8a119931282a44feb4c3
> Author: Ville Syrjälä <[email protected]>
> 
> drm/edid: Introduce drm_edid_get_displayid_product_id()
> 
> This commit adds drm_displayid_get_product_id() to extract vendor and
> product identification from a DisplayID Product ID block.
> 
> > diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
> > index a2617aa34edfc..b44c26d422171 100644
> > --- a/include/drm/drm_edid.h
> > +++ b/include/drm/drm_edid.h
> 
> [ ... ]
> 
> > @@ -484,6 +492,8 @@ int drm_edid_connector_add_modes(struct drm_connector 
> > *connector);
> >  bool drm_edid_is_digital(const struct drm_edid *drm_edid);
> >  void drm_edid_get_product_id(const struct drm_edid *drm_edid,
> >                          struct drm_edid_product_id *id);
> > +void drm_displayid_get_product_id(const struct drm_edid *drm_edid,
> > +                             struct drm_displayid_product_id *id);
> 
> [Severity: Low]
> The commit subject names this function drm_edid_get_displayid_product_id(),
> while the commit message body and code define drm_displayid_get_product_id().
> Also, this declaration is placed in the "Interface based on struct drm_edid"
> section of include/drm/drm_edid.h, where all other functions taking a
> const struct drm_edid * use the drm_edid_ prefix.  Should the commit subject
> and exported function name be aligned?

I was going back and forth with the name and being dissatisfied
with all of them. If anyone has an opinion how we should name
these things I'm all ears.

-- 
Ville Syrjälä
Intel

Reply via email to