Re: [PATCH v2 01/12] cxl/core: Remove duplicate declaration of devm_cxl_iomap_block()
From: Robert Richter
Date: Fri Oct 21 2022 - 04:55:14 EST
On 20.10.22 16:56:51, Dan Williams wrote:
> 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.
Yes, a build error in v1.
Thanks,
-Robert