Re: [PATCH v2 1/2] libnvdimm, region: fix flush hint detection crash

2017-04-26 Thread Dan Williams
On Wed, Apr 26, 2017 at 12:43 PM, Jeff Moyer wrote: > Dan Williams writes: > >> In the case where a dimm does not have any associated flush hints the >> ndrd->flush_wpq array may be uninitialized leading to crashes with the >> following signature: >> >> BUG: unable to handle kernel NULL pointer

Re: [PATCH v2 1/2] libnvdimm, region: fix flush hint detection crash

2017-04-26 Thread Jeff Moyer
Dan Williams writes: > In the case where a dimm does not have any associated flush hints the > ndrd->flush_wpq array may be uninitialized leading to crashes with the > following signature: > > BUG: unable to handle kernel NULL pointer dereference at 0010 > IP: region_visible+0x10f/0