diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-05-06 15:38:46 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-05-07 19:43:05 +0200 |
commit | cede185b1ba3118e1912385db4812a37d9e9b205 (patch) | |
tree | f5a68565273af192c4029845b087afd38c744b63 /security/device_cgroup.c | |
parent | rbd: don't assert on writes to snapshots (diff) | |
download | linux-cede185b1ba3118e1912385db4812a37d9e9b205.tar.xz linux-cede185b1ba3118e1912385db4812a37d9e9b205.zip |
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 'security/device_cgroup.c')
0 files changed, 0 insertions, 0 deletions