Claude review: dma/contiguous: Fix broken build

Claude Code Review Bot
2026-03-31T07:29:36Z

Overall Series Review

Subject: dma/contiguous: Fix broken build
Author: Maxime Ripard <mripard@kernel.org>
Patches: 5
Reviewed: 2026-03-31T17:29:36.009744

---

This is a single-patch build fix for a regression introduced by commit `3a236f6a5cf2` ("dma: contiguous: Turn heap registration logic around"). That commit changed the CMA heap registration model so the CMA heap driver discovers CMA areas itself (via `dev_get_cma_area()` in `add_cma_heaps()`), but left behind one stale call to the now-removed `dma_heap_cma_register_heap()` in `dma_contiguous_reserve()`, breaking the build.

The fix is clean and correct: it removes the dead call, deletes the now-empty header, and removes all includes of that header. The only two files that included the header (`cma_heap.c` and `contiguous.c`) are both addressed.

**Verdict: Looks good.** One minor nit on the commit message wording below.

---
Generated by Claude Code Patch Reviewer