From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] new sco flowcontrol patch
Date: Wed, 21 Mar 2007 15:11:07 +0100 [thread overview]
Message-ID: <1174486267.15638.25.camel@aeonflux.holtmann.net> (raw)
In-Reply-To: <45FE8B0B.20500@xmission.com>
Hi Brad,
> per our conversation about this, I have reworked the sco flowcontrol
> patch against the linus git tree (2.6.21rc2) and successfully tested it.
> Most of the comments are out so you can more easily see what is
> changing. I left about 3 comments in that are parts of new blocks of code.
>
> I made a couple of changes like the signature of a function used as a fn
> pointer and avoiding a variable rename but this is essentially the same
> code people have been testing against older kernels.
>
> It's also in bluetooth-alsa cvs under plugz/patches/
>
> I used to have a testcase from Fabien that would consistently crash the
> unpatched kernel but I couldn't dig it up. That would be good for eg
> regression testing and I will put it in plugz cvs when we track it down.
I did an initial review and there are still some whitespace and coding
style issues that need to be fixed.
The biggest thing however is hci_sched_sco(). This function is ugly as
hell and basically unreadable. Please use break or continue instead of
cascaded if clauses. I am not gonna review this piece of the patch until
that is fixed.
Regards
Marcel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2007-03-21 14:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-19 13:07 [Bluez-devel] new sco flowcontrol patch Brad Midgley
2007-03-21 14:11 ` Marcel Holtmann [this message]
2007-03-21 15:18 ` Brad Midgley
2007-03-24 5:41 ` Brad Midgley
2007-04-02 15:36 ` Marcel Holtmann
2007-04-03 21:04 ` Brad Midgley
2007-04-03 21:08 ` Marcel Holtmann
2007-04-03 22:08 ` Brad Midgley
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=1174486267.15638.25.camel@aeonflux.holtmann.net \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox