Print this page
5253 kmem_alloc/kmem_zalloc won't fail with KM_SLEEP
5254 getrbuf won't fail with KM_SLEEP

*** 6192,6205 **** int i; softs->total_slots = softs->aac_max_fibs; softs->io_slot = kmem_zalloc(sizeof (struct aac_slot) * \ softs->total_slots, KM_SLEEP); - if (softs->io_slot == NULL) { - AACDB_PRINT(softs, CE_WARN, "Cannot allocate slot"); - return (AACERR); - } for (i = 0; i < softs->total_slots; i++) softs->io_slot[i].index = i; softs->free_io_slot_head = NULL; softs->total_fibs = 0; return (AACOK); --- 6192,6201 ----