[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140120130116.GW7444@mwanda>
Date: Mon, 20 Jan 2014 16:01:16 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: James Hogan <james.hogan@...tec.com>
Cc: devel@...verdev.osuosl.org, andreas.dilger@...el.com,
Chen Gang <gang.chen.5i5j@...il.com>,
Greg KH <gregkh@...uxfoundation.org>, bergwolf@...il.com,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
oleg.drokin@...el.com, jacques-charles.lafoucriere@....fr,
jinshan.xiong@...el.com, linux-metag@...r.kernel.org
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists