Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935357AbcLTQez (ORCPT ); Tue, 20 Dec 2016 11:34:55 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:38426 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754012AbcLTQex (ORCPT ); Tue, 20 Dec 2016 11:34:53 -0500 Subject: Re: [PATCH] RDS: use rb_entry() To: Geliang Tang , "David S. Miller" References: <2cd84448fe04ffb7023be892c5ed04bbfc759c87.1482204342.git.geliangtang@gmail.com> Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com, linux-kernel@vger.kernel.org From: Santosh Shilimkar Organization: Oracle Corporation Message-ID: Date: Tue, 20 Dec 2016 08:34:44 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <2cd84448fe04ffb7023be892c5ed04bbfc759c87.1482204342.git.geliangtang@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 268 Lines: 8 On 12/20/2016 6:02 AM, Geliang Tang wrote: > To make the code clearer, use rb_entry() instead of container_of() to > deal with rbtree. > > Signed-off-by: Geliang Tang > --- Looks fine. Acked-by: Santosh Shilimkar