Is there any reason why misc_open assumes that
all misc drivers will provide an open function?
-- from line 119 (2.1.65)
if ((file->f_op = c->fops))
return file->f_op->open(inode,file);
else
return -ENODEV;
--Surely it's a bit daft to miss out "&& file->f_op->open"?
Just curious.
Matthew.
-- Matthew Kirkwood | Mail: matthew.kirkwood@lmh.ox.ac.uk LMH JCR, | Web: http://www-jcr.lmh.ox.ac.uk/~weejock/ Oxford OX2 6QA, | PGP: finger weejock@ferret.lmh.ox.ac.uk England. |