cxl/uapi: Fix defined but not used warnings
authorBen Widawsky <ben.widawsky@intel.com>
Sat, 4 Sep 2021 02:20:56 +0000 (19:20 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 7 Sep 2021 18:39:01 +0000 (11:39 -0700)
commit9d1b3afd73047d4dd30e3636412c9f9b5def2b14
tree6972cda460fdf4037188dd9fa1902e635e8d8272
parentda582aa5ad5787c46e3f475ab3f4602ec84c1617
cxl/uapi: Fix defined but not used warnings

Fix unused-const-variable warnings emitted by gcc when cxlmem.h is used
by pretty much all files except pci.c

Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/163072205652.2250120.16833548560832424468.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
include/uapi/linux/cxl_mem.h