lkml.org 
[lkml]   [2014]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers: staging: lustre: lustre: include: add "__attribute__((packed))" for the related union
Are you sure it's padding the unions, and not just treating the unions
as structs? What is the size of this union?

union a {
int x;
short y;
};

regards,
dan carpenter


\
 
 \ /
  Last update: 2014-01-20 17:02    [W:0.079 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site