Re: [PATCH] dax: include bus.h for definition of run_dax()
From: Ira Weiny
Date: Fri Jun 16 2023 - 14:25:39 EST
Ben Dooks wrote:
> The run_dax() prototype is defined in "bus.h" but drivers/dax/super.c
> does not include this. Include bus.h to silece the following sparse
> warning:
>
> drivers/dax/super.c:337:6: warning: symbol 'run_dax' was not declared. Should it be static?
A different version of this fix has already been queued up.
https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git/commit/?h=libnvdimm-fixes&id=2d5153526f929838b0912ded26862840f72745f4
Thank you anyway,
Ira