/* get the highest address of the multi-segment block.  */
static unsigned long dcssblk_find_highest_addr(struct dcssblk_dev_info *dev_info)
/* get the highest address of the multi-segment block.  */
static unsigned long dcssblk_find_highest_addr(struct dcssblk_dev_info *dev_info)
{
	unsigned long highest_addr;
	struct segment_info *entry;
	highest_addr = 0;
	list_for_each_entry(entry, &dev_info->seg_list, lh) {
		if (highest_addr < entry->end)
			highest_addr = entry->end;
	}
	return highest_addr;
}