From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: dma-buf: heaps: Export mem_accounting parameter Date: Fri, 27 Feb 2026 13:12:03 +1000 Message-ID: In-Reply-To: <20260225-dma-buf-heaps-as-modules-v1-5-2109225a090d@kernel.org> References: <20260225-dma-buf-heaps-as-modules-v1-0-2109225a090d@kernel.org> <20260225-dma-buf-heaps-as-modules-v1-5-2109225a090d@kernel.org> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review ```c +EXPORT_SYMBOL_NS_GPL(mem_accounting, "DMA_BUF_HEAP"); ``` **Observation:** The `DMA_BUF_HEAP` namespace is correct and matches the namespace used by `dma_heap_add()`, `dma_heap_get_drvdata()`, etc. However, `mem_accounting` is currently only used by `system_heap.c` (not `cma_heap.c`). The CMA heap imports this namespace in patch 6 anyway (for `dma_heap_add`), so this is harmless, but worth noting that `mem_accounting` isn't actually consumed by the CMA heap. --- Generated by Claude Code Patch Reviewer