Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2965099iob; Fri, 6 May 2022 14:36:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwYfXv8qcTMKtYmi88tfBoyUN3sQFmv+1XDMvKMT7y4dcrywjpa1VKEajof9O1GYk4/sRD X-Received: by 2002:a17:90a:4581:b0:1bc:d215:8722 with SMTP id v1-20020a17090a458100b001bcd2158722mr14467918pjg.149.1651872963976; Fri, 06 May 2022 14:36:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651872963; cv=none; d=google.com; s=arc-20160816; b=JchR66YFk3A7xqb5HYeEfmMp9cE+Vkwb5rGgeeY5/bfGbsNsmuCs1NEaKiTX3o7xQS yl/CaSQgHOj+QMIHBwXy6HPX4zrA//o7rV1fY6z/Pzzfs0z59mBPF+/goqE4JbHCldQM ldpeOwN1aQ3pKXDx0I2ws2RtLlht+0Vp62ICiULkGNkv/zudiHlOIPTxqahjKEK/VQQu NTemK45Wr9WO8lEsXHWOplSTAyAhC0Xuvmd64yAQUa3lahIZG0BdME8XWyWk8B7TRVSr MRswmBlI9rrTipfEB/9PFWesC3YHambk9W1ZQdiDwCQrWV10Qws+g59vqE/L8URyLqz9 lX1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=m0b232NQdFrEWyQRUXTxG7VuaAG5zjSfnQ0MMTpciaE=; b=ragrBW8QoCmno3xaFyzNXLdAQxoovyUtpeVGh3VQYimjJ9gg78KZMFdW33jT6Vr1Pi CQRTic15qUTWjN711J7HA6Dnq0w5kUWV9oQivDZ85ZcWtdG7wyLmKYhxb+Aymo4gZKvi gdeuDnMCSTN2oNP/qy5gEGhnUrz8tdJz9g1XqUzq40zOQAO6LlwIWtKvVcJVt48CifGW NWEC3AUNiHXJcN6xvogwd9DyrKEI/GiauWhDaIi7jMhXnHQXI2qv3ZQM5e/WJfsgbf79 SAgBmTkOnsHK7L0gr0Avyf1olboZOGPEFsflWgFgSVciLaSUooOLYmrHOA8oTlHhLuLX I4SQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lk7-20020a17090b33c700b001dce6c66082si1878471pjb.168.2022.05.06.14.35.49; Fri, 06 May 2022 14:36:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1390725AbiEFJtK (ORCPT + 99 others); Fri, 6 May 2022 05:49:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1390710AbiEFJtH (ORCPT ); Fri, 6 May 2022 05:49:07 -0400 Received: from out30-44.freemail.mail.aliyun.com (out30-44.freemail.mail.aliyun.com [115.124.30.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED2AD5FD4; Fri, 6 May 2022 02:45:22 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R321e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04407;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0VCRMIRC_1651830313; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VCRMIRC_1651830313) by smtp.aliyun-inc.com(127.0.0.1); Fri, 06 May 2022 17:45:19 +0800 From: Jiapeng Chong To: pbonzini@redhat.com Cc: shuah@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] KVM: selftests: riscv: Remove unneeded semicolon Date: Fri, 6 May 2022 17:45:12 +0800 Message-Id: <20220506094512.116729-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following coccicheck warnings: ./tools/testing/selftests/kvm/lib/riscv/processor.c:353:3-4: Unneeded semicolon. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- tools/testing/selftests/kvm/lib/riscv/processor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/lib/riscv/processor.c b/tools/testing/selftests/kvm/lib/riscv/processor.c index 3961487a4870..e17333518af2 100644 --- a/tools/testing/selftests/kvm/lib/riscv/processor.c +++ b/tools/testing/selftests/kvm/lib/riscv/processor.c @@ -350,7 +350,7 @@ void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...) case 7: id = RISCV_CORE_REG(regs.a7); break; - }; + } set_reg(vm, vcpuid, id, va_arg(ap, uint64_t)); } -- 2.20.1.7.g153144c