Re: [PATCH] net: define __packed for the userspace code

From: Changli Gao
Date: Sun Aug 22 2010 - 07:24:21 EST


On Sun, Aug 22, 2010 at 7:12 PM, Changli Gao <xiaosuo@xxxxxxxxx> wrote:
> This commit
>
>  commit bc10502dba37d3b210efd9f3867212298f13b78e
>  Author: Eric Dumazet <eric.dumazet@xxxxxxxxx>
>  Date:   Thu Jun 3 03:21:52 2010 -0700
>
>    net: use __packed annotation
>
> makes use of __packed in the userspace code. So we'd better define __packed
> for the userspace code too.
>

Oh, sorry. This patch can't work as include/linux/compiler.h isn't
exported to the userspace. But where should we define __packed for the
userspace code? include/linux/types.h?


--
Regards,
Changli Gao(xiaosuo@xxxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/