Commit b3385cf1 authored by David S. Miller's avatar David S. Miller

[PATCH] Fix scsi OOPS on bootup

It ends up trying to list_del() from an uninitialized
list_head.
parent 0353f267
......@@ -474,6 +474,8 @@ int scsi_register_host(Scsi_Host_Template *shost_tp)
struct list_head *lh;
struct Scsi_Host *shost;
INIT_LIST_HEAD(&shost_tp->shtp_list);
/*
* Check no detect routine.
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment