[Drbd-dev] avoid compiler warning about redefined macro

David Butterfield dab21774 at gmail.com
Wed Jun 5 18:05:29 CEST 2019


In drbd_dax_pmem.h:35:
-#define arch_wb_cache_pmem(A, L) do { } while (0)
+#define arch_wb_cache_pmem(A, S) do { } while (0)

Avoid compiler warning by making the macro definition exactly match the one in
linux/libnvdimm.h:
    drbd_dax_pmem.h:35: warning: "arch_wb_cache_pmem" redefined


More information about the drbd-dev mailing list