Files
kernel_xiaomi_sm8250/net
Jeff Layton 8d7eef327b libceph: fix unaligned accesses in ceph_entity_addr handling
[ Upstream commit cede185b1ba3118e1912385db4812a37d9e9b205 ]

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>
Stable-dep-of: 7563cf17dce0 ("libceph: use kernel_connect()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-25 11:16:50 +02:00
..
2023-06-09 10:24:01 +02:00
2023-10-10 21:44:57 +02:00
2023-08-11 11:45:24 +02:00
2023-06-21 15:39:57 +02:00
2023-03-22 13:27:10 +01:00
2023-09-23 10:48:01 +02:00
2023-05-17 11:13:24 +02:00
2023-10-25 11:16:44 +02:00
2023-06-21 15:39:57 +02:00
2023-06-21 15:39:57 +02:00