[ovs-dev] [PATCH 11/16] compiler: Remove PACKED macro and its only (unneeded) user.

Ben Pfaff blp at nicira.com
Fri Feb 12 21:57:17 UTC 2010


On Fri, Feb 12, 2010 at 04:39:47PM -0500, Jesse Gross wrote:
> On Thu, Feb 11, 2010 at 6:18 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> >  struct pcaprec_hdr {
> >     uint32_t ts_sec;         /* timestamp seconds */
> >     uint32_t ts_usec;        /* timestamp microseconds */
> >     uint32_t incl_len;       /* number of octets of packet saved in file */
> >     uint32_t orig_len;       /* actual length of packet */
> > -} PACKED;
> > +} OVS_PACKED;
> > +BUILD_ASSERT_DECL(sizeof(struct pcaprec_hdr) == 16);
> >
> 
> Did you mean to change this one to OVS_PACKED or should it be dropped
> entirely?

I meant to get rid of it.  I don't know how that slipped in there.

Thanks.




More information about the dev mailing list