Whamcloud - gitweb
LU-14748 build: gcc9 fix address of packed member warning 61/43961/4
authorShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 9 Jun 2021 16:25:21 +0000 (11:25 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 27 Jul 2021 21:37:21 +0000 (21:37 +0000)
commit66dcbd503fd5528f1f000ef6e2e4233f7fa8b567
treeff2503ba345ae7f2c4d8572df5e74ea7b39dbd60
parent3ffa5d680f0092ae51ffa84bd94a9983f9a8c99e
LU-14748 build: gcc9 fix address of packed member warning

gcc9 complains about use of __swabXXs() with some packed
structures.
Use __swabXX() for these cases.

Test-Parameters: trivial
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I7437c6f21d38c209ef452b41760aad6d1d3d6034
Reviewed-on: https://review.whamcloud.com/43961
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/utils/llog_reader.c