Return-path: Received: from mail-iy0-f174.google.com ([209.85.210.174]:44766 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293Ab2CLB0B convert rfc822-to-8bit (ORCPT ); Sun, 11 Mar 2012 21:26:01 -0400 MIME-Version: 1.0 In-Reply-To: <4F5D4E02.4080209@gmail.com> References: <4F5D4E02.4080209@gmail.com> From: Julian Calaby Date: Mon, 12 Mar 2012 12:25:40 +1100 Message-ID: (sfid-20120312_022605_818063_F01C6BB7) Subject: Re: [PATCH v2 3/3] mac80211: improve PID rate control mechanism by avoiding rate oscillation problem To: wei Cc: linux-wireless@vger.kernel.org, johannes@sipsolutions.net, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Wei, Again, a couple of minor comments. On Mon, Mar 12, 2012 at 12:14, wei wrote: > From Wei YIN > Improve PID rate control mechanism by avoiding rate oscillation problem > > Signed-off-by: Wei YIN > --- > kernel 3.3.0 > net/mac80211/rc80211_pid_debugfs.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ > 1 file changed, 65 insertions(+), 6 deletions(-) > > --- wireless-testing_orig/net/mac80211/rc80211_pid_debugfs.c ? ?2012-02-17 13:59:53.487182968 +1000 > +++ wireless-testing/net/mac80211/rc80211_pid_debugfs.c 2012-03-08 14:45:38.727184486 +1000 > @@ -1,5 +1,6 @@ > ?/* > ?* Copyright 2007, Mattias Nissler > + * Copyright 2012, Wei Yin, National ICT Australia > ?* > ?* This program is free software; you can redistribute it and/or modify > ?* it under the terms of the GNU General Public License version 2 as > @@ -13,12 +14,72 @@ > ?#include > ?#include > ?#include > -#include This change should go in a separate patch. > ?#include > ?#include "rate.h" > > ?#include "rc80211_pid.h" > +#include > +#include > +#include > +#include Different types of includes should be grouped together, the #include lines should go with their fellows at the top. Overall, this is significantly improved over your first patch. Well Done. Does anyone else have any comments about this? Thanks, -- Julian Calaby Email: julian.calaby@gmail.com Profile: http://www.google.com/profiles/julian.calaby/ .Plan: http://sites.google.com/site/juliancalaby/