Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938822AbcLTTeR convert rfc822-to-8bit (ORCPT ); Tue, 20 Dec 2016 14:34:17 -0500 Received: from mga02.intel.com ([134.134.136.20]:64053 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938722AbcLTTeO (ORCPT ); Tue, 20 Dec 2016 14:34:14 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,380,1477983600"; d="scan'208";a="44740176" From: "Marciniszyn, Mike" To: Geliang Tang CC: "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Doug Ledford , "Hefty, Sean" , Hal Rosenstock Subject: RE: [PATCH] IB/qib: use rb_entry() Thread-Topic: [PATCH] IB/qib: use rb_entry() Thread-Index: AQHSWsm+CjQ7AqYZz0iFJgf2ywXik6EROf0Q Date: Tue, 20 Dec 2016 19:34:12 +0000 Message-ID: <32E1700B9017364D9B60AED9960492BC2F374E48@fmsmsx120.amr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjY3ZDI1NTktZDYxNS00ZDkxLWIwOWMtYTE4ZTA4NDgzOWRkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InRJNHBqUGNQQVwvSWdETXd4MDZhaVh2ODZuTyt1Q2J4WTNQZE1MM2lQdlBjPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.1.200.107] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 280 Lines: 12 > Subject: [PATCH] IB/qib: use rb_entry() > > To make the code clearer, use rb_entry() instead of container_of() to deal > with rbtree. > > Signed-off-by: Geliang Tang Thanks for the patch! Mike Acked-by: Mike Marciniszyn