On Tue, 2020-03-03 at 09:38 -0800, Jason Thorpe wrote: > > On Mar 3, 2020, at 9:35 AM, Michał Górny <mgorny%gentoo.org@localhost> wrote: > > > > > > Thank you, I'll update it. I wonder if we can catch missing entries > > automatically there. > > 1- Don't declare the size of the array. > > 2- Use designated initializers for the array elements. > > 3- CTASSERT that sizeof(nfsrv_v2errmap) == ELAST. > Yeah, I'm experimenting with exactly that concept right now ;-). -- Best regards, Michał Górny
Attachment:
signature.asc
Description: This is a digitally signed message part