kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve <steve@lonetwin.net>
To: kernel-janitors@vger.kernel.org
Subject: A ToDo list item ?
Date: Fri, 14 Mar 2008 17:20:28 +0000	[thread overview]
Message-ID: <46036.1205515228@lonetwin.net> (raw)

Hi,

I recently started working my way through the 'Linux Device Driver' book (3rd edition)[1] and in Chapter 3, 'Char Drivers', page 57, i noticed the following paragraph:

"""
The Older Way
If you dig through much driver code in the 2.6 kernel, you may notice that quite a
few char drivers do not use the cdev interface that we have just described. What you
are seeing is older code that has not yet been upgraded to the 2.6 interface. Since that
code works as it is, this upgrade may not happen for a long time. For completeness,
we describe the older char device registration interface, but new code should not use
it; this mechanism will likely go away in a future kernel.
The classic way to register a char device driver is with:
      int register_chrdev(unsigned int major, const char *name,
                          struct file_operations *fops);
"""

Now, considering that ...
$ grep -r "register_chrdev" drivers/* | wc -l
217

...in the latest and greatest linus kernel, is this a janitor-worthy task ? If it is, I'd like to get started on this, since it would go well along with my current study.

regards,
- steve

[1] http://lwn.net/Kernel/LDD3/
 


                 reply	other threads:[~2008-03-14 17:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46036.1205515228@lonetwin.net \
    --to=steve@lonetwin.net \
    --cc=kernel-janitors@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;
as well as URLs for NNTP newsgroup(s).