On Thu, Apr 02, 2020 at 01:16:27PM +0100, Michele Sorcinelli wrote: > On 4/2/20 1:13 PM, Greg KH wrote: > > No, the structure should be changed to actually be correct, as that is > > not how it should be declared in order to not have any padding between > > variables in the structure :) > > What would be the correct way of declaring that structure? > See any of the structures in include/linux/* that have: } __packed; as their closing bracket. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies