Re: [PATCH 1/3] Eliminate __attribute__ ((packed)) warnings forgcc-4.1

From: Jan Engelhardt
Date: Wed Jan 04 2006 - 04:14:43 EST


> > + __u8 rate ;
> > + __u8 width ;
> > + __u8 length ;
> > + __u8 compression ;
> > + __u8 ecm ;
> > + __u8 binary ;
> > + __u8 scantime ;
> > + __u8 id[FAXIDLEN] ;
>
>What's with the funky placement of ; ?
>The rest of the struct looks sensible.
>
Looks like a simple s/__attribute__((packed))// rather than
s/\s+__attribute__((packed))/;
-
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/