From nobody Sun May 5 18:26:17 2024 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; dkim=fail; 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; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1553692418153365.46553210281; Wed, 27 Mar 2019 06:13:38 -0700 (PDT) Received: from localhost ([127.0.0.1]:47645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h98N4-0006aA-6C for importer@patchew.org; Wed, 27 Mar 2019 09:13:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h984p-0002Dq-9g for qemu-devel@nongnu.org; Wed, 27 Mar 2019 08:54:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h984o-0008PW-7w for qemu-devel@nongnu.org; Wed, 27 Mar 2019 08:54:43 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:39256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h984n-0008PB-Vv for qemu-devel@nongnu.org; Wed, 27 Mar 2019 08:54:42 -0400 Received: by mail-wm1-x342.google.com with SMTP id t124so16610062wma.4 for ; Wed, 27 Mar 2019 05:54:41 -0700 (PDT) Received: from ninjatsu.public.libraries.mcc ([91.235.65.22]) by smtp.gmail.com with ESMTPSA id 3sm30659025wrk.68.2019.03.27.05.54.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Mar 2019 05:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uuzNyYHtI+kQcLoeq1EA5dzT9R+uiaNFEZ15Iu5RNvw=; b=cokckNkSHypK2Z6cFmXTTEayuJ++0tuOTpwJhEKXIbcMVgmiTk0CGKEN8M+D90+OdO JcErvyjr5qnKg+RhDBqzA7IKOXRb47imalR5QiOJzJiTNrd80Y3W7R72b1gpSMIkdoLC 3UHlVqbb01walqEeUWjRRz9z3JQGNgJIBrgfCKgJx4ktL7AlYbtY25jLwhOniYlRMjGm 2RFMGFvekzVLjfmpkioNGMD8txk+hCI8uoqR752zhzp+Xt9L/B2nDwMuhFDbh3y/hiGe x5L1y6DKiqkMxxyLROtfwN2LUYQA9gsNAIZG0j4qT6b1IXYzfqkOb5jPXYCCA5UZ33RE U0vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uuzNyYHtI+kQcLoeq1EA5dzT9R+uiaNFEZ15Iu5RNvw=; b=GhitsKU59fFdg3w9NXm8eYNyTEim6gKZlfKs9rJ9SSivBIArCKvavmNDfTXobSSq4p E/hRyzkteSpde4cOFQpTTDcSM+q0EjD1UT9lAjXnrhqfvW81rReSzlOZ33VC9vfAnDbJ yyJGqgYoGsX+vLgHebqQE/NypKdluodlg4VvDPFrGuFW4+WwtrKOK9mJahn6pQYEI5MA HLztqKkgRCV/sMq6PqBfr91wcDhY2tHjAZfs9pQBvJxBuKRr9A8/Ilz95fQmzct2Xl3z +Uiw+3V9fEm7dFcnv779Sbsf6jq9ZNBS8SLfJ0AFbFt1mqQ14uzb1PE9119EOoWKfJWQ Fg5Q== X-Gm-Message-State: APjAAAXajlFTBWA4s87UVJ9DxjhE6SaPbILpaV78vgBC5FBBFxCwc2DB ohAi+Cqf/hzT9cE5ACIfWQ== X-Google-Smtp-Source: APXvYqxlQdh/z5pYJ/JYP7roay320ASmS+8z/FzMjENa9tg27UTC7WnOiw+7qd8KuSjplLTIAJdN5A== X-Received: by 2002:a1c:2348:: with SMTP id j69mr12450438wmj.35.1553691280416; Wed, 27 Mar 2019 05:54:40 -0700 (PDT) From: Jules Irenge To: aurelien@aurel32.net Date: Wed, 27 Mar 2019 12:54:30 +0000 Message-Id: <20190327125430.12099-1-jbi.octave@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 Subject: [Qemu-devel] [PATCH v2] target: mips: remove a space before open parenthesis to fix checkpatch error 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, qemu-devel@nongnu.org, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Remove a space before bracket to fix checkpatch error "ERROR: space prohibited between function name and open parenthesis". Signed-off-by: Jules Irenge --- This v2 version includes fix of all error of space on function and paranthe= sis in this file target/mips/cp0_timer.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/mips/cp0_timer.c b/target/mips/cp0_timer.c index f4716395df..742f4b2890 100644 --- a/target/mips/cp0_timer.c +++ b/target/mips/cp0_timer.c @@ -29,7 +29,7 @@ #define TIMER_PERIOD 10 /* 10 ns period for 100 Mhz frequency */ =20 /* XXX: do not use a global */ -uint32_t cpu_mips_get_random (CPUMIPSState *env) +uint32_t cpu_mips_get_random(CPUMIPSState *env) { static uint32_t seed =3D 1; static uint32_t prev_idx =3D 0; @@ -73,7 +73,7 @@ static void cpu_mips_timer_expire(CPUMIPSState *env) qemu_irq_raise(env->irq[(env->CP0_IntCtl >> CP0IntCtl_IPTI) & 0x7]); } =20 -uint32_t cpu_mips_get_count (CPUMIPSState *env) +uint32_t cpu_mips_get_count(CPUMIPSState *env) { if (env->CP0_Cause & (1 << CP0Ca_DC)) { return env->CP0_Count; @@ -91,7 +91,7 @@ uint32_t cpu_mips_get_count (CPUMIPSState *env) } } =20 -void cpu_mips_store_count (CPUMIPSState *env, uint32_t count) +void cpu_mips_store_count(CPUMIPSState *env, uint32_t count) { /* * This gets called from cpu_state_reset(), potentially before timer i= nit. @@ -109,7 +109,7 @@ void cpu_mips_store_count (CPUMIPSState *env, uint32_t = count) } } =20 -void cpu_mips_store_compare (CPUMIPSState *env, uint32_t value) +void cpu_mips_store_compare(CPUMIPSState *env, uint32_t value) { env->CP0_Compare =3D value; if (!(env->CP0_Cause & (1 << CP0Ca_DC))) @@ -131,7 +131,7 @@ void cpu_mips_stop_count(CPUMIPSState *env) TIMER_PERIOD); } =20 -static void mips_timer_cb (void *opaque) +static void mips_timer_cb(void *opaque) { CPUMIPSState *env; =20 @@ -151,7 +151,7 @@ static void mips_timer_cb (void *opaque) env->CP0_Count--; } =20 -void cpu_mips_clock_init (MIPSCPU *cpu) +void cpu_mips_clock_init(MIPSCPU *cpu) { CPUMIPSState *env =3D &cpu->env; =20 --=20 2.20.1