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

Commit d9a3fcc1 authored by Lijuan Gao's avatar Lijuan Gao
Browse files

rq_stats: Compilation error fix for 32bit kernel



This fixes below compilation error for 32bit kernel
build. Comparison of distinct pointer types long long
and unsigned long long. Change is to use uint64_t to
fix this.

Change-Id: I4a097a1fe8f6d4816c6049f2220934182d1381ef
Signed-off-by: default avatarLijuan Gao <lijuang@codeaurora.org>
parent a41a8bae
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2010-2015, 2017-2018 The Linux Foundation. All rights reserved.
/* Copyright (c) 2010-2015, 2017-2019 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
@@ -29,7 +29,7 @@ static void def_work_fn(struct work_struct *work)
static ssize_t show_def_timer_ms(struct kobject *kobj,
		struct kobj_attribute *attr, char *buf)
{
	int64_t diff;
	uint64_t diff;
	unsigned int udiff;

	diff = ktime_to_ns(ktime_get()) - rq_info.def_start_time;