From nobody Tue Feb 10 05:41:43 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1556019323; cv=none; d=zoho.com; s=zohoarc; b=UKDzr2afrjHZvN5TXRhscpex5VHFPEaCVNVA2ZZ2dtJxLVwMpnN8oRHizj+sucIIpPH/7iTHlltIR5ZQTD+CE2PPmosJ2wyQEQi8jEZsEQENOE/9F2+Q46eZmVdXvwjfBKeOWbRh/e+zFt8Svw86MpvlJ/TzYcpnD5TvmEsQ8v4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556019323; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=lPejGdC30BrtX9cBG1ts7sYUCHbUeIxRFt+dPDsYHnQ=; b=W3MFEgLdzaOYAYQir1smKvNBZe6yR4Tkb9BAhD1vBVZsfg8OJvzcEcRwEcfuXoB0Sl7zOAVMq3RQqbJBweKlw6eRMho03X8RPrqfmnsYkdgiLHDBEgvzmopPCszpk4Te3pCDAm5buPVB7vzGxhz7NXQ1lUonZWNi+DaOMWDh9/k= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1556019323354381.8484835078492; Tue, 23 Apr 2019 04:35:23 -0700 (PDT) Received: from localhost ([127.0.0.1]:52096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIthn-0004OL-Ay for importer@patchew.org; Tue, 23 Apr 2019 07:35:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hItda-0001cx-7P for qemu-devel@nongnu.org; Tue, 23 Apr 2019 07:30:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hItdZ-0005Vv-3l for qemu-devel@nongnu.org; Tue, 23 Apr 2019 07:30:58 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:41186 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hItdY-0004BG-TK for qemu-devel@nongnu.org; Tue, 23 Apr 2019 07:30:57 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 8175E1A245B; Tue, 23 Apr 2019 13:29:53 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 549CA1A1E4D; Tue, 23 Apr 2019 13:29:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Tue, 23 Apr 2019 13:29:38 +0200 Message-Id: <1556018982-3715-5-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556018982-3715-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1556018982-3715-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH 4/8] target/mips: Add * to comments and realign them to fix checkpatch warnings X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, amarkovic@wavecomp.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Jules Irenge Add * to comments and realign to fix warnings issued by checkpatch.pl tool "WARNING: Block comments use a leading /* on a separate line" within the file target/mips/cp0_timer.c. Signed-off-by: Jules Irenge Signed-off-by: Aleksandar Markovic Reviewed-by: Aleksandar Markovic Message-Id: <20190327181650.23992-1-jbi.octave@gmail.com> --- target/mips/cp0_timer.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/target/mips/cp0_timer.c b/target/mips/cp0_timer.c index 742f4b2..d80b007 100644 --- a/target/mips/cp0_timer.c +++ b/target/mips/cp0_timer.c @@ -42,8 +42,10 @@ uint32_t cpu_mips_get_random(CPUMIPSState *env) =20 /* Don't return same value twice, so get another value */ do { - /* Use a simple algorithm of Linear Congruential Generator - * from ISO/IEC 9899 standard. */ + /* + * Use a simple algorithm of Linear Congruential Generator + * from ISO/IEC 9899 standard. + */ seed =3D 1103515245 * seed + 12345; idx =3D (seed >> 16) % nb_rand_tlb + env->CP0_Wired; } while (idx =3D=3D prev_idx); @@ -143,9 +145,11 @@ static void mips_timer_cb(void *opaque) if (env->CP0_Cause & (1 << CP0Ca_DC)) return; =20 - /* ??? This callback should occur when the counter is exactly equal to - the comparator value. Offset the count by one to avoid immediately - retriggering the callback before any virtual time has passed. */ + /* + * ??? This callback should occur when the counter is exactly equal to + * the comparator value. Offset the count by one to avoid immediately + * retriggering the callback before any virtual time has passed. + */ env->CP0_Count++; cpu_mips_timer_expire(env); env->CP0_Count--; --=20 2.7.4