> I think it needs to be rephrased to make clear the alignment of struct membanks should be the same as struct membank.
Shouldn't this check therefore be changed to:
BUILD_BUG_ON(alignof(struct membanks) != alignof(struct membank));
Yes it should be changed.
Cheers,
~Michal