Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'libnvdimm-for-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm

Pull libnvdimm updates from Ira Weiny:
"Header file cleanups. Specifically use specific headers rather than
just kernel.h in libnvdimm.h to reduce header file usage.

The second patch is a fix to CXL but is going through my tree as a
libnvdimm patch caused the issue"

* tag 'libnvdimm-for-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
cxl: Include range.h in cxl.h
libnvdimm: Don't use "proxy" headers

+11 -5
+1
drivers/cxl/cxl.h
··· 11 11 #include <linux/log2.h> 12 12 #include <linux/node.h> 13 13 #include <linux/io.h> 14 + #include <linux/range.h> 14 15 15 16 extern const struct nvdimm_security_ops *cxl_security_ops; 16 17
+10 -5
include/linux/libnvdimm.h
··· 6 6 */ 7 7 #ifndef __LIBNVDIMM_H__ 8 8 #define __LIBNVDIMM_H__ 9 - #include <linux/kernel.h> 9 + 10 + #include <linux/io.h> 10 11 #include <linux/sizes.h> 12 + #include <linux/spinlock.h> 11 13 #include <linux/types.h> 12 14 #include <linux/uuid.h> 13 - #include <linux/spinlock.h> 14 - #include <linux/bio.h> 15 15 16 16 struct badrange_entry { 17 17 u64 start; ··· 80 80 struct nvdimm *nvdimm, unsigned int cmd, void *buf, 81 81 unsigned int buf_len, int *cmd_rc); 82 82 83 + struct attribute_group; 83 84 struct device_node; 85 + struct module; 84 86 struct nvdimm_bus_descriptor { 85 87 const struct attribute_group **attr_groups; 86 88 unsigned long cmd_mask; ··· 123 121 int position; 124 122 }; 125 123 124 + struct bio; 125 + struct resource; 126 126 struct nd_region; 127 127 struct nd_region_desc { 128 128 struct resource *res; ··· 150 146 { 151 147 return (void __iomem *) devm_nvdimm_memremap(dev, offset, size, 0); 152 148 } 153 - 154 - struct nvdimm_bus; 155 149 156 150 /* 157 151 * Note that separate bits for locked + unlocked are defined so that ··· 239 237 enum nvdimm_fwa_result (*activate_result)(struct nvdimm *nvdimm); 240 238 int (*arm)(struct nvdimm *nvdimm, enum nvdimm_fwa_trigger arg); 241 239 }; 240 + 241 + struct kobject; 242 + struct nvdimm_bus; 242 243 243 244 void badrange_init(struct badrange *badrange); 244 245 int badrange_add(struct badrange *badrange, u64 addr, u64 length);