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 (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-10-08 14:20 UTC by onwahe
Modified: 2022-10-17 12:38 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
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:38:23 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>