回复:Re: add_disk() make my driver's initialisation, thus kernel stall.

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Sun Mar 20 22:55:59 EDT 2016


On Mon, 21 Mar 2016 09:53:47 +0800, 张云 said:
> The code is just for learning block driver

THe kernel doesn't know that.  You call a routine with the wrong
parameters, it will not work properly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160320/2894a5b8/attachment.bin 


More information about the Kernelnewbies mailing list