Bug 151305 - [headers] [patch] CTASSERT(sizeof(struct jmvrec) == JREC_SIZE)
Summary: [headers] [patch] CTASSERT(sizeof(struct jmvrec) == JREC_SIZE)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-08 14:20 UTC by onwahe
Modified: 2017-12-31 22:23 UTC (History)
0 users

See Also:


Attachments
file.diff (434 bytes, patch)
2010-10-08 14:20 UTC, onwahe
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description onwahe 2010-10-08 14:20:03 UTC
A macro CTASSERT() hits in colfire port I work on. It is possibly due
to use of GNU GCC compiler -Os option (size optimalization). It hits on
struct jmvrec in sys/ufs/ffs/fs.h.

Fix: I arranged the struct definition (a size of unused field).

Patch attached with submission follows:
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:29 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped