The code is just for learning block driver

发自 网易邮箱大师
在2016年03月21日 06:18,valdis.kletni...@vt.edu 写道:
On Sun, 20 Mar 2016 16:38:12 +0800, å¼ äº‘ said:

> My memory disk block driver was compiled successfully.
> But when I insmod my module, initialisation stall at add_disk  in =
> setup_dev function.

> int major = 0;

Are you positive that this is both safe and usable?
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to