On Tue, Dec 13, 2022 at 10:39:59AM +0530, Devasish Dey wrote: > > +struct sk_if_info { > > + bool valid; > It is better not to use bool in a structure, as the size is usually > int, i.e. 64 bits to hold 1 bit.
Because we don't have huge arrays of these structs, the size isn't critical IMO. > [Devasish]: Earlier we had it as an integer. We can update it to uint8_t as > well. But Richard suggested updating it to Boolean. > So, leaving this to Richard. I think 'bool' is fine here. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel