mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ocfs2: trivial endianness misannotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
66f8f50920
commit
8515841086
3 changed files with 5 additions and 5 deletions
|
@ -293,7 +293,7 @@ int dlm_proxy_ast_handler(struct o2net_msg *msg, u32 len, void *data,
|
||||||
struct dlm_proxy_ast *past = (struct dlm_proxy_ast *) msg->buf;
|
struct dlm_proxy_ast *past = (struct dlm_proxy_ast *) msg->buf;
|
||||||
char *name;
|
char *name;
|
||||||
struct list_head *iter, *head=NULL;
|
struct list_head *iter, *head=NULL;
|
||||||
u64 cookie;
|
__be64 cookie;
|
||||||
u32 flags;
|
u32 flags;
|
||||||
u8 node;
|
u8 node;
|
||||||
|
|
||||||
|
|
|
@ -679,7 +679,7 @@ struct dlm_query_join_packet {
|
||||||
};
|
};
|
||||||
|
|
||||||
union dlm_query_join_response {
|
union dlm_query_join_response {
|
||||||
u32 intval;
|
__be32 intval;
|
||||||
struct dlm_query_join_packet packet;
|
struct dlm_query_join_packet packet;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -755,8 +755,8 @@ struct dlm_query_region {
|
||||||
struct dlm_node_info {
|
struct dlm_node_info {
|
||||||
u8 ni_nodenum;
|
u8 ni_nodenum;
|
||||||
u8 pad1;
|
u8 pad1;
|
||||||
u16 ni_ipv4_port;
|
__be16 ni_ipv4_port;
|
||||||
u32 ni_ipv4_address;
|
__be32 ni_ipv4_address;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dlm_query_nodeinfo {
|
struct dlm_query_nodeinfo {
|
||||||
|
|
|
@ -818,7 +818,7 @@ static void dlm_query_join_packet_to_wire(struct dlm_query_join_packet *packet,
|
||||||
union dlm_query_join_response response;
|
union dlm_query_join_response response;
|
||||||
|
|
||||||
response.packet = *packet;
|
response.packet = *packet;
|
||||||
*wire = cpu_to_be32(response.intval);
|
*wire = be32_to_cpu(response.intval);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dlm_query_join_wire_to_packet(u32 wire,
|
static void dlm_query_join_wire_to_packet(u32 wire,
|
||||||
|
|
Loading…
Reference in a new issue