Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1544754

Re: [PATCH] PM / Hibernate: use rb_entry instead of container_of

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [PATCH] PM / Hibernate: use rb_entry instead of container_of
Date 2016-12-19 21:10 +0100
Message-ID <sQcpY-43J-17@gated-at.bofh.it> (permalink)
References <sQ7JF-16N-67@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon 2016-12-19 23:03:11, Geliang Tang wrote:
> To make the code clearer, use rb_entry() instead of container_of() to
> deal with rbtree.
> 
> Signed-off-by: Geliang Tang <geliangtang@gmail.com>

Acked-by: Pavel Machek <pavel@ucw.cz>

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] PM / Hibernate: use rb_entry instead of container_of Geliang Tang <geliangtang@gmail.com> - 2016-12-19 16:10 +0100
  Re: [PATCH] PM / Hibernate: use rb_entry instead of container_of Pavel Machek <pavel@ucw.cz> - 2016-12-19 21:10 +0100

csiph-web