Re: [PATCH] libnvdimm: initialize struct blk_integrity with 0

2016-07-06 Thread Dan Williams
On Tue, Jul 5, 2016 at 2:02 AM, Johannes Thumshirn wrote: > On Thu, Jun 23, 2016 at 11:52:04AM +0200, Johannes Thumshirn wrote: >> Initialize struct blk_integrity with 0 as blk_integrity_register() takes the >> then unitialized struct blk_integrity::flags and ORs it to the resulting >> block >> i

Re: [PATCH] libnvdimm: initialize struct blk_integrity with 0

2016-07-05 Thread Johannes Thumshirn
On Thu, Jun 23, 2016 at 11:52:04AM +0200, Johannes Thumshirn wrote: > Initialize struct blk_integrity with 0 as blk_integrity_register() takes the > then unitialized struct blk_integrity::flags and ORs it to the resulting block > integrity structure. > > Signed-off-by: Johannes Thumshirn > --- >