On Fri, Dec 18, 2020 at 05:09:58PM +0800, Meng Zhuo wrote: > Hi, Greg > > Thank you for your reply > It's fine to do compile bit fields "by hand". Surely Go has something like "if (field & 0x01)", right? That's all you need for a bitfield. Look at the most common syscall, open(2)? It uses bitfields, why can't Go handle that? > However is it possible to setup a guideline that forrbid "bit fields" > in uapi in the future? Where would that guideline go and who would enforce it? :) thanks, greg k-h