On Sat, Nov 14, 2015 at 12:40 PM, Shiyao Ma <i@introo.me> wrote:
Hi,


When writing a char device driver, if the "open" slots is left vacant in the file_operations structure, what will happen if "open" is called ?

You can have a loot at chrdev_open() function in  fs/char_dev.c  file.

regards
sudip