RE: [PATCH 06/11] IB/cma: Refactor RDMA IP CM private-data parsing code

Hefty, Sean
2015-06-15T22:33:06Z

> -static int cma_save_net_info(struct rdma_cm_id *id, struct rdma_cm_id
> *listen_id,
> - struct ib_cm_event *ib_event)
> +static u16 cma_port_from_service_id(__be64 service_id)
> {
> - struct cma_hdr *hdr;
> + return be64_to_cpu(service_id);
> +}

Nit - Does the compiler not complain about the cast from u64 to u16?