Bernard Metzler <[email protected]> writes:
> +
> +/*
> + * siw_async_ev()
> + *
> + * Report Asynchonous event to user.
> + */
> +void siw_async_ev(struct siw_qp *qp, struct siw_cq *cq,
> +               enum ib_event_type etype)
> +{
> +     static struct ib_event  event;

Static? That looks scary, especially without a lock.


-Andi

-- 
[email protected] -- Speaking for myself only

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to