2006-01-03 11:31:38

by Jan Blunck

[permalink] [raw]
Subject: [PATCH 3/3] __attribute__((packed)) for the CAPI message structs

The CAPI message structs itself should be packed and not the location of
single fields in the structure.

Signed-off-by: Jan Blunck <[email protected]>


Attachments:
(No filename) (150.00 B)
act2000_capi-eliminate-packed-warnings.diff (6.55 kB)
Download all attachments

2006-01-03 11:48:19

by Karsten Keil

[permalink] [raw]
Subject: Re: [PATCH 3/3] __attribute__((packed)) for the CAPI message structs

On Tue, Jan 03, 2006 at 12:31:36PM +0100, Jan Blunck wrote:
> The CAPI message structs itself should be packed and not the location of
> single fields in the structure.
>
> Signed-off-by: Jan Blunck <[email protected]>

Yes this should be changed.

Signed-off-by: Karsten Keil <[email protected]>

> drivers/isdn/act2000/capi.h | 88 ++++++++++++++++++++++----------------------
> 1 files changed, 44 insertions(+), 44 deletions(-)
>
> Index: linux-2.6/drivers/isdn/act2000/capi.h
> ===================================================================
...


--
Karsten Keil
SuSE Labs
ISDN development