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

*** 650,661 **** if (cont_count == 0) return (0); cont_len = sizeof (id_t); cont_hdl = kmem_zalloc(cont_count * cont_len, KM_SLEEP); - if (cont_hdl == NULL) - return (0); rc = smbios_info_contains(shp, bb_id, cont_count, cont_hdl); if (rc > SMB_CONT_MAX) { kmem_free(cont_hdl, cont_count * cont_len); return (0); --- 650,659 ----