RE: [ndctl PATCH] libndctl: fix 'type-pun' warnings with hpe1 commands

2016-10-13 Thread Boylston, Brian
Dan Williams wrote on 2016-10-13: > On Wed, Oct 12, 2016 at 1:40 PM, Dan Williams > wrote: >> Fix warnings of the form: >> >> libndctl-hpe1.c: In function 'hpe1_smart_valid': >> libndctl-hpe1.c:78:15: warning: dereferencing type-punned pointer will >>

Re: [ndctl PATCH] libndctl: fix 'type-pun' warnings with hpe1 commands

2016-10-13 Thread Dan Williams
On Wed, Oct 12, 2016 at 1:40 PM, Dan Williams wrote: > Fix warnings of the form: > > libndctl-hpe1.c: In function 'hpe1_smart_valid': > libndctl-hpe1.c:78:15: warning: dereferencing type-punned pointer will > break strict-aliasing rules