Skip to content

drm/ttm: two small ttm_bo.c cleanups

Sean Chang dri-devel lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- Correct target function name in patch 1 commit message to ttm_bo_alloc_at_place.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/ttm: drop stale @ctx kernel-doc entrydrivers/gpu/drm/ttm/ttm_bo.c+0 -10 replies
2/2drm/ttm: make ttm_swap_ops staticdrivers/gpu/drm/ttm/ttm_bo.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/ttm: two small ttm_bo.c cleanups

This series contains two independent, minor cleanups to drivers/gpu/drm/ttm/ttm_bo.c found while auditing the file. They do not depend on each other and could be applied in either order or separately.

Patch 1 removes a stale @ctx kernel-doc entry left over from an earlier struct change, fixing a kernel-doc / W=1 mismatch warning.

Patch 2 gives ttm_swap_ops static linkage since it is not used outside this file and is not exported, fixing a sparse "was not declared, should it be static?" warning.

Both patches were build-tested with make W=1 C=2.

---
v2:
- Correct target function name in patch 1 commit message to ttm_bo_alloc_at_place.

Sean Chang (2):
drm/ttm: drop stale @ctx kernel-doc entry
drm/ttm: make ttm_swap_ops static

 drivers/gpu/drm/ttm/ttm_bo.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Signature · 1 line
2.43.0