From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu) Date: Sun, 20 Mar 2016 22:55:59 -0400 Subject: =?UTF-8?Q?=E5=9B=9E=E5=A4=8D=EF=BC=9ARe:_add=5Fdisk()_make_my_driver's?= =?UTF-8?Q?_initialisation, _thus_kernel_stall.?= In-Reply-To: <54c27c53.9977.15396e0ca5e.Coremail.zyunone@163.com> References: <690BE234-E228-46C7-AC88-514352BFF33D@163.com> <96687.1458512337@turing-police.cc.vt.edu> <54c27c53.9977.15396e0ca5e.Coremail.zyunone@163.com> Message-ID: <120983.1458528959@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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