From nobody Mon May 20 22:40:02 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.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=1604019473; cv=none; d=zohomail.com; s=zohoarc; b=fZzunzYonwPjDCRseT0NGc3eHN3sQD1KSF8Kxi1OV6iXt5iqJPZdWvUvPxO0ZhkvxClaXDqagAguQia/VeAqX8+ySdMQNRM65NNmbeu5keSdsTcFV9CdsXJ4zQNeftRk2lEXfxj3Y0DGMe9y2OlE2oiifbZhyOo9JF0PwjO8HqE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604019473; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=TCTJZYAfhGTZaMVkRlirt+LrYvSNbPUy5kEM5edvwAE=; b=ke+10sOcqsAB6ifhUjpLz7oLXJqPGiHfNjIgwA/TaoUUVM8JMMMKKUyR3fi6xnVmFSjE1PrZqG4dSj1StnoL74qmaKKvXQyFLlws3c+PCNOBne3Gn0MHFf/PcwmN1p/qM/LAW6sYdv060DcvLRxAikRMq9nEFIgDhvvnjQAjeag= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.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 1604019473656553.0054362220086; Thu, 29 Oct 2020 17:57:53 -0700 (PDT) Received: from localhost ([::1]:47984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYIjo-0007F8-Gf for importer@patchew.org; Thu, 29 Oct 2020 20:57:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYIbn-00048P-Nj; Thu, 29 Oct 2020 20:49:36 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYIbi-0001p3-5k; Thu, 29 Oct 2020 20:49:35 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CMkGY6YhGz15LX2; Fri, 30 Oct 2020 08:49:25 +0800 (CST) Received: from huawei.com (10.175.101.6) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Fri, 30 Oct 2020 08:49:18 +0800 From: Xinhao Zhang To: , Subject: [PATCH] target/riscv/csr.c : add space before the open parenthesis '(' Date: Fri, 30 Oct 2020 08:48:15 +0800 Message-ID: <20201030004815.4172849-1-zhangxinhao1@huawei.com> X-Mailer: git-send-email 2.29.0-rc1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.175.101.6] X-CFilter-Loop: Reflected Received-SPF: pass (zohomail.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; Received-SPF: pass client-ip=45.249.212.190; envelope-from=zhangxinhao1@huawei.com; helo=szxga04-in.huawei.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/29 20:41:14 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sagark@eecs.berkeley.edu, qemu-trivial@nongnu.org, kbastian@mail.uni-paderborn.de, alex.chen@huawei.com, Alistair.Francis@wdc.com, palmer@dabbelt.com, dengkai1@huawei.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Fix code style. Space required before the open parenthesis '('. Signed-off-by: Xinhao Zhang Signed-off-by: Kai Deng Reported-by: Euler Robot Reviewed-by: Alistair Francis Reviewed-by: Bin Meng --- target/riscv/csr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/riscv/csr.c b/target/riscv/csr.c index aaef6c6f20..e8b149f0d2 100644 --- a/target/riscv/csr.c +++ b/target/riscv/csr.c @@ -881,7 +881,7 @@ static int write_satp(CPURISCVState *env, int csrno, ta= rget_ulong val) if (env->priv =3D=3D PRV_S && get_field(env->mstatus, MSTATUS_TVM)= ) { return -RISCV_EXCP_ILLEGAL_INST; } else { - if((val ^ env->satp) & SATP_ASID) { + if ((val ^ env->satp) & SATP_ASID) { tlb_flush(env_cpu(env)); } env->satp =3D val; --=20 2.29.0-rc1