Hi Vijay,

On 18/09/15 14:08, vijay.kil...@gmail.com wrote:
> +static void its_remove_device(struct its_device *dev)
> +{
> +    if ( dev )
> +        rb_erase(&dev->node, &rb_its_dev);

Either the caller or this function has to take the lock which protect
the RB-tree.

If it's the caller, please add an ASSERT to check the lock is taken. If
not, you know what to do ;).

Regards,

> +}
> +

Regards,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to