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

Commit 45171712 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: pm-boot: Change WARN to pr_warn to avoid stack dump"

parents cee6eb8c 02f8ea97
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2014, 2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -42,7 +42,8 @@ static int msm_pm_tz_boot_init(void)
			flag = SCM_FLAG_WARMBOOT_CPU0 | SCM_FLAG_WARMBOOT_CPU1 |
				SCM_FLAG_WARMBOOT_CPU2 | SCM_FLAG_WARMBOOT_CPU3;
		else
			__WARN();
			pr_warn("%s: set warmboot address failed\n",
								__func__);

		return scm_set_boot_addr(virt_to_phys(msm_pm_boot_entry), flag);
	}