wearefam@fambox:~/src/linux-kernel/linux-next$ git bisect good 585d98e00ba7a5e2abe65f7a1eff631cb612289b is the first bad commit commit 585d98e00ba7a5e2abe65f7a1eff631cb612289b Author: Thomas Petazzoni Date: Fri Jun 21 15:01:05 2013 +0200 char: misc: assign file->private_data in all cases In fa1f68db6ca ("drivers: misc: pass miscdevice pointer via file private data"), the misc driver infrastructure was changed to assigned file->private_data as a pointer to the 'struct miscdevice' that corresponds to the device being opened. However, this assignment was only done when the misc driver was declaring a driver-specific ->open() operation in its file_operations. This doesn't make sense, as the driver may not necessarily have a custom ->open() operation, and might still be interested in having file->private_data properly set for use in its ->read() and write() operations. Therefore, we move the assignment of file->private_data outside of the condition that tests whether a driver-specific ->open() operation was defined. Signed-off-by: Thomas Petazzoni Acked-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman :040000 040000 9e6f8608cbf47a345beb5fbba1f6341df3634269 7d1bbea06d1c0dc77e4bdf31368131776462c575 M drivers wearefam@fambox:~/src/linux-kernel/linux-next$ -dileks // 26-Jun-2013