Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763787AbcLTPBO (ORCPT ); Tue, 20 Dec 2016 10:01:14 -0500 Received: from mga14.intel.com ([192.55.52.115]:37232 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761049AbcLTPBK (ORCPT ); Tue, 20 Dec 2016 10:01:10 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,379,1477983600"; d="scan'208";a="1084605115" Subject: Re: [PATCH] IB/qib: use rb_entry() To: Geliang Tang , Mike Marciniszyn , Doug Ledford , Sean Hefty , Hal Rosenstock References: Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org From: Dennis Dalessandro Message-ID: Date: Tue, 20 Dec 2016 10:01:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 272 Lines: 11 On 12/20/2016 09: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 Reviewed-by: Dennis Dalessandro Thanks -Denny