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

Commit 669cca06 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

drivers: edac: Fix string format mismatch



Fix a few string format mismatches:

drivers/edac/kryo_arm64_edac.c:272:16: note: in expansion of macro 'KERN_CRIT'
error: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'u64 {aka long long unsigned int}' [-Wformat=]

drivers/edac/kryo_arm64_edac.c:288:16: note: in expansion of macro 'KERN_CRIT'
error: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'u64 {aka long long unsigned int}' [-Werror=format=]

Fixes: 7d9fb5ae ("drivers: edac: Add Cache Error Reporting driver")
Change-Id: Ic0dedbad0c2d8895967b9fc2d34c446a53879186
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent fb44a5a8
Loading
Loading
Loading
Loading
+3 −3
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/kernel.h>
@@ -270,7 +270,7 @@ static void kryo_parse_l1_l2_cache_error(u64 errxstatus, u64 errxmisc,
			break;
		default:
			edac_printk(KERN_CRIT, EDAC_CPU,
				"silver cpu:%d unknown error location:%u\n",
				"silver cpu:%d unknown error location:%llu\n",
				cpu, KRYO_ERRXMISC_LVL(errxmisc));
		}
		break;
@@ -286,7 +286,7 @@ static void kryo_parse_l1_l2_cache_error(u64 errxstatus, u64 errxmisc,
			break;
		default:
			edac_printk(KERN_CRIT, EDAC_CPU,
				"gold cpu:%d unknown error location:%u\n",
				"gold cpu:%d unknown error location:%llu\n",
				cpu, KRYO_ERRXMISC_LVL_GOLD(errxmisc));
		}
		break;