NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/39897: sizeof(struct gpt_hdr);



The following reply was made to PR kern/39897; it has been noted by GNATS.

From: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/39897: sizeof(struct gpt_hdr);
Date: Tue, 11 Nov 2008 23:55:51 +0000

 On Tue, Nov 11, 2008 at 07:00:01PM +0000, jakllsch%kollasch.net@localhost 
wrote:
 > >Synopsis:       sizeof(struct gpt_hdr); is "wrong" on amd64
 
 > Perhaps add a '__packed' attribute to the GPT structures.
 
 There is a typedef for a 64bit int with 32bit alignment somewhere.
 That is better than applying packed to the entire structure.
 
        David
 
 -- 
 David Laight: david%l8s.co.uk@localhost
 


Home | Main Index | Thread Index | Old Index