[PATCH 0/1] drivers: misc: pass pointer to misc device itself

Previous thread: [PATCH 1/1] drivers: misc: pass miscdevice pointer via file private data by Samu Onkalo on Sunday, May 2, 2010 - 10:31 pm. (1 message)

Next thread: Re: underage models, pre teen models, lolita porn, young preteens, little lolitas by Michael Moore on Sunday, May 2, 2010 - 11:23 pm. (1 message)
From: Samu Onkalo
Date: Sunday, May 2, 2010 - 10:31 pm

I have not found a reasonable way to find an address of the
misc-device structure in the driver file operations.
inode->i_cdev is not pointing to the correct place due to way how
misc driver class is implemented - or I have totally missed something.
In misc open, information is available but it is not passed to the
driver itself. Privatedata field of the file struct passes now
pointer to the driver open function. Driver can do what ever needed
with that information.

Samu Onkalo (1):
  drivers: misc: pass miscdevice pointer via file private data

 drivers/char/misc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

--

Previous thread: [PATCH 1/1] drivers: misc: pass miscdevice pointer via file private data by Samu Onkalo on Sunday, May 2, 2010 - 10:31 pm. (1 message)

Next thread: Re: underage models, pre teen models, lolita porn, young preteens, little lolitas by Michael Moore on Sunday, May 2, 2010 - 11:23 pm. (1 message)