RE: [PATCH v2 01/12] cxl/core: Remove duplicate declaration of devm_cxl_iomap_block()

From: Dan Williams
Date: Thu Oct 20 2022 - 19:57:05 EST


Robert Richter wrote:
> The function devm_cxl_iomap_block() is only used in the core
> code. There are two declarations in header files of it, in
> drivers/cxl/core/core.h and drivers/cxl/cxl.h. Remove its unused
> declaration in drivers/cxl/cxl.h.
>
> Fixing build error in regs.c found by kernel test robot by including
> "core.h" there.

Fixes a build error only with the new code in this series, or do you
have a config where this fails with current mainline?

Assuming the former, this is applied for v6.2.