On Mon, Feb 14, 2005 at 11:29:44AM -0800, Libor Michalek wrote:
>   Good idea, in three places I got rid of the cast, and then used an inline
> in two other places. Here's the updated patch.

cool - thanks.  Can these two also be changed?

> Index: infiniband/ulp/sdp/sdp_conn.c
> ===================================================================
> --- infiniband/ulp/sdp/sdp_conn.c     (revision 1778)
> +++ infiniband/ulp/sdp/sdp_conn.c     (working copy)
> @@ -1085,7 +1085,8 @@
>               conn->send_cq = ib_create_cq(conn->ca,
>                                            sdp_cq_event_handler,
>                                            NULL,
> -                                          (void *)conn->hashent,
> +                                          (void *)
> +                                          (unsigned long)conn->hashent,
>                                            conn->send_cq_size);
>               if (IS_ERR(conn->send_cq)) {
>  
> @@ -1110,7 +1111,8 @@
>               conn->recv_cq = ib_create_cq(conn->ca,
>                                            sdp_cq_event_handler,
>                                            NULL,
> -                                          (void *)conn->hashent,
> +                                          (void *)
> +                                          (unsigned long)conn->hashent,
>                                            conn->recv_cq_size);
>  
>               if (IS_ERR(conn->recv_cq)) {

thanks,
grant
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to