diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-05-06 09:38:46 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-05-07 19:43:05 +0200 |
commit | cede185b1ba3118e1912385db4812a37d9e9b205 (patch) | |
tree | f5a68565273af192c4029845b087afd38c744b63 /fs/ceph | |
parent | b91a7bdca4439e286f26cdd6c15ed338e6a9fda2 (diff) | |
download | linux-cede185b1ba3118e1912385db4812a37d9e9b205.tar.bz2 |
libceph: fix unaligned accesses in ceph_entity_addr handling
GCC9 is throwing a lot of warnings about unaligned access. This patch
fixes some of them by changing most of the sockaddr handling functions
to take a pointer to struct ceph_entity_addr instead of struct
sockaddr_storage. The lower functions can then make copies or do
unaligned accesses as needed.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions