From: Ulrich Weigand Date: Mon, 2 Sep 2019 19:24:35 +0000 (+0200) Subject: messages: Fix incorrect use of __le16/32/64 X-Git-Tag: v15.1.0~1637^2~9 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4dd426483294a22f2383aedec14e24ab0bc408c8;p=ceph-ci.git messages: Fix incorrect use of __le16/32/64 Use ceph_le16/32/64 instead of __le16/32/64 (which are no-op outside of kernel code). Fixes (partially): https://tracker.ceph.com/issues/41605 Signed-off-by: Ulrich Weigand --- diff --git a/src/messages/MMonSubscribe.h b/src/messages/MMonSubscribe.h index 2872c0b46e1..2ae6140a85f 100644 --- a/src/messages/MMonSubscribe.h +++ b/src/messages/MMonSubscribe.h @@ -22,8 +22,8 @@ * compatibility with old crap */ struct ceph_mon_subscribe_item_old { - __le64 unused; - __le64 have; + ceph_le64 unused; + ceph_le64 have; __u8 onetime; } __attribute__ ((packed)); WRITE_RAW_ENCODER(ceph_mon_subscribe_item_old)