From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756556Ab2CSK1S (ORCPT ); Mon, 19 Mar 2012 06:27:18 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:51839 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754345Ab2CSK1Q (ORCPT ); Mon, 19 Mar 2012 06:27:16 -0400 Date: Mon, 19 Mar 2012 11:27:13 +0100 From: Pavel Machek To: Davidlohr Bueso Cc: "Rafael J. Wysocki" , lkml , linux-pm@vger.kernel.org Subject: Re: [PATCH] PM/Hibernate: use rb_entry Message-ID: <20120319102712.GA4532@elf.ucw.cz> References: <1332114885.2632.1.camel@offbook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1332114885.2632.1.camel@offbook> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2012-03-19 00:54:45, Davidlohr Bueso wrote: > From: Davidlohr Bueso > > Since the software suspend extents are organized in an rbtree, use rb_entry > instead of container_of, as it is semantically more appropriate in order to > get a node as it is iterated. > > Signed-off-by: Davidlohr Bueso ACK. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html