Re: [PATCH] net/mlx4: use rb_entry()

From: David Miller
Date: Sun Jan 22 2017 - 16:49:04 EST


From: Leon Romanovsky <leon@xxxxxxxxxx>
Date: Sun, 22 Jan 2017 09:48:39 +0200

> I don't understand completely the rationale behind this conversion.
> rb_entry == container_of, why do we need another name for it?

Because it's an annotation.

Either you agree that the macro exists and it should be used in
every spot where those types are being used, or you don't and
therefore argue for the macro and it's usage completely.