From: Willem Riede <wrlk@riede.org>
To: linux-kernel@vger.kernel.org
Subject: Should osst call cdev_alloc()
Date: Sat, 23 Oct 2004 17:10:04 +0000 [thread overview]
Message-ID: <1098551404l.3844l.1l@serve.riede.org> (raw)
Currently, sg.c and st.c contain calls to cdev_alloc() and friends:
[wriede@serve kernel]$ find linux-2.6.9 -name '*.c' | xargs grep cdev_alloc
linux-2.6.9/drivers/s390/char/tape_class.c: tcd->char_device =
cdev_alloc();
linux-2.6.9/drivers/scsi/sg.c: cdev = cdev_alloc();
linux-2.6.9/drivers/scsi/sg.c: printk(KERN_WARNING "cdev_alloc
failed\n");
linux-2.6.9/drivers/scsi/st.c: cdev = cdev_alloc();
linux-2.6.9/fs/char_dev.c: cdev = cdev_alloc();
linux-2.6.9/fs/char_dev.c:struct cdev *cdev_alloc(void)
linux-2.6.9/fs/char_dev.c:EXPORT_SYMBOL(cdev_alloc);
My question is: should osst do the same? It seems to work just fine without.
Please cc me on answers, as I'm currently not subscribed to linux-kernel.
Thanks, Willem Riede,
osst maintainer
next reply other threads:[~2004-10-23 17:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-23 17:10 Willem Riede [this message]
2004-10-23 20:56 ` Kai Makisara
2004-10-23 21:14 ` Willem Riede
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=1098551404l.3844l.1l@serve.riede.org \
--to=wrlk@riede.org \
--cc=linux-kernel@vger.kernel.org \
/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®