On 12/30/19 10:20 PM, Martin KaFai Lau wrote: > This patch allows bitfield access as a scalar. > > It checks "off + size > t->size" to avoid accessing bitfield > end up accessing beyond the struct. This check is done > outside of the loop since it is applicable to all access. > > It also takes this chance to break early on the "off < moff" case. > > Signed-off-by: Martin KaFai Lau <kafai@xxxxxx> Acked-by: Yonghong Song <yhs@xxxxxx>