[PATCH 0/3] char: misc: assign file->private_data to miscdevice on open

2014-10-29 Thread Martin Kepplinger
This slightly changes the behaviour of miscdevice drivers at an open() syscall. Not only if the driver happens to implement an open() fop itself, but now just always file->private_data points to struct miscdevice, when a user opens the device file. This call for review once more: if anybody has

[PATCH 0/3] char: misc: assign file-private_data to miscdevice on open

2014-10-29 Thread Martin Kepplinger
This slightly changes the behaviour of miscdevice drivers at an open() syscall. Not only if the driver happens to implement an open() fop itself, but now just always file-private_data points to struct miscdevice, when a user opens the device file. This call for review once more: if anybody has an