Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965192AbcLTTXR (ORCPT ); Tue, 20 Dec 2016 14:23:17 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:44342 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965164AbcLTTXN (ORCPT ); Tue, 20 Dec 2016 14:23:13 -0500 Date: Tue, 20 Dec 2016 14:23:11 -0500 (EST) Message-Id: <20161220.142311.1803222502945883312.davem@davemloft.net> To: geliangtang@gmail.com Cc: jhs@mojatatu.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net_sched: sch_fq: use rb_entry() From: David Miller In-Reply-To: <6aa180710d70b09d4f81d3d219b3161077e1ff11.1482204526.git.geliangtang@gmail.com> References: <6aa180710d70b09d4f81d3d219b3161077e1ff11.1482204526.git.geliangtang@gmail.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 20 Dec 2016 10:23:55 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 241 Lines: 9 From: Geliang Tang Date: Tue, 20 Dec 2016 22:02:15 +0800 > To make the code clearer, use rb_entry() instead of container_of() to > deal with rbtree. > > Signed-off-by: Geliang Tang Applied.