Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adc889e4 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Fix a memory leak during Global PT init"

parents d78b6e0c bd2bf202
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2011-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2011-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/compat.h>
@@ -1222,7 +1222,7 @@ static int _init_global_pt(struct kgsl_mmu *mmu, struct kgsl_pagetable *pt)
			dev_err(device->dev,
				"SMMU aperture programming call failed with error %d\n",
				ret);
			return ret;
			goto done;
		}
	}