compile nvme not find bi_disk

Tony Yang yyt168 at gmail.com
Mon Sep 18 06:47:15 PDT 2017


Dear All

  I'm compiling nvme, but encountered the following error, how can I
solve it? Thanks

 CHK     include/generated/compile.h
  CC [M]  drivers/nvme/host/core.o
drivers/nvme/host/core.c: In function ‘__nvme_submit_user_cmd’:
drivers/nvme/host/core.c:631: error: ‘struct bio’ has no member named ‘bi_disk’
make[3]: *** [drivers/nvme/host/core.o] Error 1
make[2]: *** [drivers/nvme/host] Error 2
make[1]: *** [drivers/nvme] Error 2
make: *** [drivers] Error 2
[root at cescel03 nvme-nvme-4.13]# bi_disk



More information about the Linux-nvme mailing list