diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-05-06 16:38:46 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-05-07 20:43:05 +0300 |
commit | cede185b1ba3118e1912385db4812a37d9e9b205 (patch) | |
tree | f5a68565273af192c4029845b087afd38c744b63 /net/ceph/mon_client.c | |
parent | b91a7bdca4439e286f26cdd6c15ed338e6a9fda2 (diff) | |
download | linux-cede185b1ba3118e1912385db4812a37d9e9b205.tar.xz |
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 'net/ceph/mon_client.c')
0 files changed, 0 insertions, 0 deletions