> static int core_create_device_list_for_node(struct se_node_acl *nacl) > { > - struct se_dev_entry *deve; > - int i; > - > - nacl->device_list = array_zalloc(TRANSPORT_MAX_LUNS_PER_TPG, > - sizeof(struct se_dev_entry), GFP_KERNEL); > + nacl->device_list = kzalloc(TRANSPORT_MAX_LUNS_PER_TPG * sizeof(void*), > + GFP_KERNEL); Seems like ->device_list should simply be an array instead of a pointer. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html