summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2019-05-06 09:38:46 -0400
committerIlya Dryomov <idryomov@gmail.com>2019-05-07 19:43:05 +0200
commitcede185b1ba3118e1912385db4812a37d9e9b205 (patch)
treef5a68565273af192c4029845b087afd38c744b63 /fs/ceph
parentb91a7bdca4439e286f26cdd6c15ed338e6a9fda2 (diff)
downloadlinux-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