From: Sam Ravnborg <sam@ravnborg.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: John Linville <linville@tuxdriver.com>,
linux-wireless <linux-wireless@vger.kernel.org>,
Stefano Brivio <stefano.brivio@polimi.it>,
Michael Wu <flamingice@sourmilk.net>
Subject: Re: [PATCH v2] mac80211: better rate control algorithm selection
Date: Wed, 2 Jan 2008 19:02:09 +0100 [thread overview]
Message-ID: <20080102180209.GA10837@uranus.ravnborg.org> (raw)
In-Reply-To: <1199295901.4172.111.camel@johannes.berg>
On Wed, Jan 02, 2008 at 06:45:01PM +0100, Johannes Berg wrote:
>
> > > +# objects for PID algorithm
> > > +rc80211_pid-y := rc80211_pid_algo.o
> > > +rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
>
> > > +# build helper for PID algorithm
> > > +rc-pid-y := $(rc80211_pid-y)
> >
> > Is this extra indirection ( rc80211_pid-y ) a preparation
> > for future rate algorithms or was it just coped from my proposal?
> > It is not needed and it does not help readability.
>
> As far as I can tell rc80211_pid-y is needed to build rc80211_pid.o from
> rc80211_pid_algo.o and rc80211_pid_debugfs.o for the modular case, no?
Correct - I just missed that when reading your patch.
And I guess this was one of the things I got wrong in my first proposal too.
Looks good then.
> Hence, I just wanted to keep it symmetric for the non-modular case.
>
> > A second note - but more as a personal taste..
> > I prefer += assignment in preference of continued lines.
> > So
> > +mac80211-y := \
> > ieee80211.o \
> > ieee80211_ioctl.o \
> > sta_info.o \
> >
> > would become:
> > +mac80211-y := ieee80211.o ieee80211_ioctl.o
> > +mac80211-y += sta_info.o
>
> Yeah, I was hoping the diff would be smaller this way because it was
> already this way before.
Understood.
Sam
next prev parent reply other threads:[~2008-01-02 18:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-02 14:17 [PATCH v2] mac80211: better rate control algorithm selection Johannes Berg
2008-01-02 17:25 ` Sam Ravnborg
2008-01-02 17:45 ` Johannes Berg
2008-01-02 18:02 ` Sam Ravnborg [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-12-21 16:09 [PATCH] " Johannes Berg
2007-12-21 21:43 ` [PATCH v2] " Johannes Berg
2007-12-21 22:26 ` Stefano Brivio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080102180209.GA10837@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=flamingice@sourmilk.net \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=stefano.brivio@polimi.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.