aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2019-05-06 13:38:47 +0000
committerIlya Dryomov <[email protected]>2019-05-07 17:43:05 +0000
commitb726ec972cf2122137fbc47847b4fcc7b3bc2801 (patch)
treecb991782dce8513dbbcf66c2cdcbb2681ec53d58 /lib/test_bitmap.c
parentlibceph: fix unaligned accesses in ceph_entity_addr handling (diff)
downloadkernel-b726ec972cf2122137fbc47847b4fcc7b3bc2801.tar.gz
kernel-b726ec972cf2122137fbc47847b4fcc7b3bc2801.zip
libceph: make ceph_pr_addr take an struct ceph_entity_addr pointer
GCC9 is throwing a lot of warnings about unaligned accesses by callers of ceph_pr_addr. All of the current callers are passing a pointer to the sockaddr inside struct ceph_entity_addr. Fix it to take a pointer to a struct ceph_entity_addr instead, and then have the function make a copy of the sockaddr before printing it. Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Ilya Dryomov <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions