From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Driver duplicate?
Date: Mon, 7 Mar 2016 12:15:34 -0800 [thread overview]
Message-ID: <20160307201534.GB26401@kroah.com> (raw)
In-Reply-To: <CAK7rcp8Zj=sycmewFBgf8rOdC+YLY+qY8j6EQsP0a8OL=1d-aA@mail.gmail.com>
On Mon, Mar 07, 2016 at 03:05:41PM -0500, Kenneth Adam Miller wrote:
> Actually, I just realized that there is probably a way to look up the character
> device name with the file* that is passed in with the mmap call. Can anybody
> say how?
Why not just use the "normal" way to do this? Have you tried it and it
somehow failed?
There are at least 3 different ways to do this, depending on your driver
code structure, so I can't give you a straight "do it this way" type
answer, sorry.
greg k-h
next prev parent reply other threads:[~2016-03-07 20:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-07 20:00 Driver duplicate? Kenneth Adam Miller
2016-03-07 20:05 ` Kenneth Adam Miller
2016-03-07 20:15 ` Greg KH [this message]
2016-03-07 20:17 ` Greg KH
2016-03-07 20:21 ` Kenneth Adam Miller
2016-03-07 20:29 ` Greg KH
2016-03-07 20:37 ` Kenneth Adam Miller
2016-03-07 20:53 ` Greg KH
2016-03-07 21:08 ` Kenneth Adam Miller
2016-03-07 21:27 ` Greg KH
2016-03-07 21:49 ` Valdis.Kletnieks at vt.edu
2016-03-07 22:04 ` Kenneth Adam Miller
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=20160307201534.GB26401@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.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 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.