git: sbin/hammer2: Silence -Waddress-of-packed-member warnings
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Wed Aug 11 07:20:44 PDT 2021
commit bc092eeff3c6f3eaf4bf1c3cd75c47c317ced9fe
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date: Tue Aug 10 06:35:52 2021 +0900
sbin/hammer2: Silence -Waddress-of-packed-member warnings
Not a problem on x86_64, but silence warnings caused by callers
passing address of packed (possibly unaligned) struct fields.
Summary of changes:
sbin/fsck_hammer2/test.c | 19 ++++++++++++-------
sbin/hammer2/cmd_debug.c | 22 ++++++++++++++--------
sbin/hammer2/cmd_info.c | 4 +++-
sbin/hammer2/ondisk.c | 11 +++++++----
sbin/hammer2/print_inode.c | 15 +++++++++------
5 files changed, 45 insertions(+), 26 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bc092eeff3c6f3eaf4bf1c3cd75c47c317ced9fe
--
DragonFly BSD source repository
More information about the Commits
mailing list