checkpatch.pl false positive?
Greg KH
greg at kroah.com
Thu Apr 2 09:21:32 EDT 2020
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.
More information about the Kernelnewbies
mailing list