From: Francois Romieu <romieu@cogenit.fr>
To: Mark Spencer <markster@linux-support.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Zaptel Pseudo TDM Bus
Date: Sun, 21 Jul 2002 15:14:21 +0200 [thread overview]
Message-ID: <20020721151421.A26656@fafner.intra.cogenit.fr> (raw)
In-Reply-To: <Pine.LNX.4.33.0207201814170.25617-100000@hoochie.linux-support.net>; from markster@linux-support.net on Sat, Jul 20, 2002 at 06:25:49PM -0500
Greetings,
Mark Spencer <markster@linux-support.net> :
[...]
> Over the past year, Linux Support Services, Inc. and Zapata
> Telephony, Inc. have been working together on building the "Zaptel" pseudo
> TDM bus architecture, and having at least 7 supported boards in a variety
> of roles (T1, E1, multi-port T1, E1, FXS and FXO with USB, PCI, ISA, and
> Ethernet interfaces), we are now interesting in getting comments on the
> driver architecture and moving towards integration into the 2.5 kernel.
A few remarks after a quick glance at zaptel-0.2.0
- copy_{to/from}_user() may sleep. Don't call it with spinlock held
(see Documentation/DocBook/kernel-locking.tmpl)
- avoid unchecked copy_{to/from}_user() and friends.
- the failure paths aren't consistent: sometime goto, sometime not.
- the failure paths don't always do their job regarding kmalloc/kfree balance
- fcstab[] declaration is duplicated
- please put blank lines after variables declarations in function body
- zt_common_ioctl/zt_ctl_ioctl() on less than 14/24 screens would be nice
[...]
> I am very interested in seeking comments both on our driver
> framework, and on how to go about submitting this for kernel inclusion if
> appropriate.
The kernel parts are appropriate imho (hint, hint: split these from userspace
code in zaptel package). Cosmetic/CodingStyle issues apart, bugs are lurking
in the code.
--
Ueimor
prev parent reply other threads:[~2002-07-21 13:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-20 23:25 Mark Spencer
2002-07-21 0:52 ` Daniel Phillips
2002-07-21 18:59 ` Mark Spencer
2002-07-21 20:46 ` Daniel Phillips
2002-07-21 21:00 ` Mark Spencer
2002-07-21 21:39 ` Karim Yaghmour
2002-07-21 23:09 ` Daniel Phillips
2002-07-21 1:27 ` Daniel Phillips
2002-07-21 19:01 ` Mark Spencer
2002-07-21 20:04 ` Daniel Phillips
2002-07-21 20:49 ` Mark Spencer
2002-07-21 13:14 ` Francois Romieu [this message]
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=20020721151421.A26656@fafner.intra.cogenit.fr \
--to=romieu@cogenit.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=markster@linux-support.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
all inboxes | Powered by JetHome®