On Wed, 17 Jul 2019 15:42:31 +0300 "Yordan Karadzhov (VMware)" <y.karadz@xxxxxxxxx> wrote: > > Are we just trying to set all fields of histo to NULL or zero? If so, > > why not just do: > > > > memset(histo, 0, sizeof(*histo)); > > > > ? > > > > This will make sure ksmodel_init() zeros all of histo when/if we add new > > fields. > > > > Yes, this will do a better job. Care to send a v2 patch? Thanks Yordan! -- Steve
![]() |