[lttng-dev] [RFC PATCH urcu 1/2] Fix: CDS_WFCQ_WOULDBLOCK typing for c++
Paul E. McKenney
paulmck at linux.vnet.ibm.com
Tue Mar 8 17:10:01 UTC 2016
On Mon, Mar 07, 2016 at 07:33:43PM -0500, Mathieu Desnoyers wrote:
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Reviewed-by: Paul E. McKenney <paulmck at linux.vnet.ibm.com>
Tested-by: Paul E. McKenney <paulmck at linux.vnet.ibm.com>
> ---
> urcu/wfcqueue.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/urcu/wfcqueue.h b/urcu/wfcqueue.h
> index 83ec219..c0bb289 100644
> --- a/urcu/wfcqueue.h
> +++ b/urcu/wfcqueue.h
> @@ -43,7 +43,7 @@ extern "C" {
> * McKenney.
> */
>
> -#define CDS_WFCQ_WOULDBLOCK ((void *) -1UL)
> +#define CDS_WFCQ_WOULDBLOCK ((struct cds_wfcq_node *) -1UL)
>
> enum cds_wfcq_ret {
> CDS_WFCQ_RET_WOULDBLOCK = -1,
> --
> 2.1.4
>
More information about the lttng-dev
mailing list