Re: [PATCH] drivers: nvdimm: cleanup include of badblocks.h

2020-12-15 Thread Dan Williams
On Tue, Dec 15, 2020 at 8:36 AM Enrico Weigelt, metux IT consult wrote: > > * drivers/nvdimm/core.c doesn't use anything from badblocks.h on its own, > thus including it isn't needed. There's indeed indirect use, via funcs > in nd.h, but this one already includes badblocks.h. > > * drivers/nvd

[PATCH] drivers: nvdimm: cleanup include of badblocks.h

2020-12-15 Thread Enrico Weigelt, metux IT consult
* drivers/nvdimm/core.c doesn't use anything from badblocks.h on its own, thus including it isn't needed. There's indeed indirect use, via funcs in nd.h, but this one already includes badblocks.h. * drivers/nvdimm/claim.c calls stuff from badblocks.h and therefore should include it on its ow