On Mon, May 19, 2025 at 01:00:52PM -0700, Dave Jiang wrote: > Add major/minor discovery for the FWCTL character device that is associated > with supprting CXL Features under 'struct cxl_fwctl'. A 'struct cxl_fwctl' > may be installed under cxl_memdev if CXL Features are supported and FWCTL > is enabled. Add libcxl API functions to retrieve the major and minor of the > FWCTL character device.
with this: meson configure -Dfwctl=disabled getting this: [119/252] Compiling C object cxl/lib/libcxl.so.1.0.8.p/libcxl.c.o ../cxl/lib/libcxl.c:1291:12: warning: ‘memdev_add_fwctl’ defined but not used [-Wunused-function] 1291 | static int memdev_add_fwctl(struct cxl_memdev *memdev, const char *cxlmem_base) | ^~~~~~~~~~~~~~~~ snip