diff options
author | Dan Williams <dan.j.williams@intel.com> | 2020-04-03 04:55:17 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2020-04-03 04:55:17 +0200 |
commit | f6d2b802f80d0ca89ee1f51c1781b3f79cdb25d5 (patch) | |
tree | fe4dfcaafe847b71ebd040f348c0a2ee8206b38a /drivers/nvdimm/nd.h | |
parent | Merge branch 'for-5.7/numa' into libnvdimm-for-next (diff) | |
parent | dax: Move mandatory ->zero_page_range() check in alloc_dax() (diff) | |
download | linux-f6d2b802f80d0ca89ee1f51c1781b3f79cdb25d5.tar.xz linux-f6d2b802f80d0ca89ee1f51c1781b3f79cdb25d5.zip |
Merge branch 'for-5.7/libnvdimm' into libnvdimm-for-next
- Introduce 'zero_page_range' as a dax operation. This facilitates
filesystem-dax operation without a block-device.
- Advertise a persistence-domain for of_pmem and papr_scm. The
persistence domain indicates where cpu-store cycles need to reach in
the platform-memory subsystem before the platform will consider them
power-fail protected.
- Fixup some flexible-array declarations.
Diffstat (limited to 'drivers/nvdimm/nd.h')
-rw-r--r-- | drivers/nvdimm/nd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvdimm/nd.h b/drivers/nvdimm/nd.h index c4d69c1cce55..85dbb2a322b9 100644 --- a/drivers/nvdimm/nd.h +++ b/drivers/nvdimm/nd.h @@ -39,7 +39,7 @@ struct nd_region_data { int ns_count; int ns_active; unsigned int hints_shift; - void __iomem *flush_wpq[0]; + void __iomem *flush_wpq[]; }; static inline void __iomem *ndrd_get_flush_wpq(struct nd_region_data *ndrd, @@ -157,7 +157,7 @@ struct nd_region { struct nd_interleave_set *nd_set; struct nd_percpu_lane __percpu *lane; int (*flush)(struct nd_region *nd_region, struct bio *bio); - struct nd_mapping mapping[0]; + struct nd_mapping mapping[]; }; struct nd_blk_region { |