The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v1 0/2] drm/ttm: two small ttm_bo.c cleanups
@ 2026-08-18 16:09 Sean Chang
  2026-08-18 16:09 ` [PATCH v1 1/2] drm/ttm: drop stale @ctx kernel-doc entry Sean Chang
  2026-08-18 16:09 ` [PATCH v1 2/2] drm/ttm: make ttm_swap_ops static Sean Chang
  0 siblings, 2 replies; 3+ messages in thread
From: Sean Chang @ 2026-08-18 16:09 UTC (permalink / raw)
  To: Christian Koenig, Huang Rui, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter
  Cc: Matthew Auld, Matthew Brost, dri-devel, linux-kernel, Sean Chang

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.

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-18 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-18 16:09 [PATCH v1 0/2] drm/ttm: two small ttm_bo.c cleanups Sean Chang
2026-08-18 16:09 ` [PATCH v1 1/2] drm/ttm: drop stale @ctx kernel-doc entry Sean Chang
2026-08-18 16:09 ` [PATCH v1 2/2] drm/ttm: make ttm_swap_ops static Sean Chang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox