rem: if (!cookie || !type)
add: if (!_cookie || !_type)
context: _kern_get_next_supported_partition_type(partition_id partitionID,										int32 changeCounter, int32 *cookie,										char *type){	if (!cookie || !type)		return B_BAD_VALUE;	KDiskDeviceManager *manager = KDiskDeviceManager::Default();	// get the partition	KPartition *partition = manager->ReadLockPartition(partitionID);	if (!partition)		return B_ENTRY_NOT_FOUND;	PartitionRegistrar registrar1(partition, true);	PartitionRegistrar registrar2(partition->Device(), true);	DeviceReadLocker locker(partition->Device(), true);	if (!check_shadow_partition(partition, changeCounter))		return B_BAD_VALUE;	// get the disk system	KDiskSystem *diskSystem = partition->DiskSystem();	if (!diskSystem)		return B_ENTRY_NOT_FOUND;	// get the info	if (diskSystem->GetNextSupportedType(partition, cookie, type))		return B_OK;	return B_ERROR;}