Re: [PATCH v1 1/2] drm/ttm: drop stale @ctx kernel-doc entry

Sean Chang <[email protected]>
Newsgroups dev.linux.lists.sashiko-reviews,org.freedesktop.lists.dri-devel
Message-ID <CAAb=EJXmUNPB2d0qeqLqvd6jmAMWsZ1nRHjaNMMUGqQLD0avXg@mail.gmail.com>
On Wed, Aug 19, 2026 at 12:13 AM <[email protected]> wrote:
>
> > ttm_bo_alloc_state no longer has a ctx member, but its kernel-doc
> > comment still documents @ctx. Remove the stale entry so the
> > documentation matches the struct.
>
> [Severity: Low]
> This isn't a bug, but is this description accurate?
>
> The commit message states the documentation for struct ttm_bo_alloc_state
> is being fixed, but the modified kernel-doc block actually documents the
> function ttm_bo_alloc_at_place().
>
> It appears the diff chunk header below mistakenly picked up the struct
> definition from earlier in the file, which may have caused the confusion.
>

Yeah, I type the wrong function name, fixing that in the
next v2 patch.

Best Regard,
Sean
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.