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

Commit b0c248a0 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

firmware: qcom: Fix compile warnings



Fix the following compiler warning(s) from gcc 6.1.1 with -Werror enabled:

 drivers/firmware/qcom/tz_log.c:879:
   format '%d' expects argument of type 'int', but argument 3 has type
   'u64 {aka long long unsigned int}' [-Werror=format=]

Fixes: 122d2db5 ("firmware: qcom: Add TZ log driver snapshot")
Change-Id: Ic0dedbad6800d136b7b7b63af70de4ed35559832
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent b330acd3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
 */
#include <linux/debugfs.h>
#include <linux/errno.h>
@@ -877,7 +877,7 @@ static void tzdbg_register_qsee_log_buf(struct platform_device *pdev)

	if (desc.ret[0] != QSEOS_RESULT_SUCCESS) {
		pr_err(
		"%s: scm_call to register log buf failed, resp result =%d\n",
		"%s: scm_call to register log buf failed, resp result =%lld\n",
		__func__, desc.ret[0]);
		goto err;
	}