Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4907485iob; Mon, 9 May 2022 04:36:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqbkEdVbfeuZEMcclKbaiE8EIYp8xq5aLSi4PkqFd4sx6ofwIr9Cv3JxLKZNqS1+OQi1ox X-Received: by 2002:a17:902:ce82:b0:15e:982e:a815 with SMTP id f2-20020a170902ce8200b0015e982ea815mr15422430plg.167.1652096202085; Mon, 09 May 2022 04:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652096202; cv=none; d=google.com; s=arc-20160816; b=MgpApbQZaSDxPefyd9QEtYfTgr2CO5vY39Vew7gS078qO1xHILyDs0tYSswvtON/Kk T8yuGa3moU8fIKmz5JJaFZLP/YkSgDwrai4D5mhnRB2bwLikEJ8VM5BEaeLBOinmewSp 7bcpWiolazrAgzY8B63j4H0Uj/lwj0xI10W9rsZIMUJH3XZ4KejOkM/jzujXgoacmxB1 pdPNnytRe2Mp7Is5EPc/GgaPnPPTJ8XpeCDWYLH3y8Imydnk6sUCfIYLP9pyBR6sJwI0 XQOHxNKygnIp2XE428BI+HkZDSyVYgtKSsysE9psw+eQqda0uG0K+4giYBsch/kmO2XE 1mzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=bdhxBHkeZJKhLSAPI6OAJv4xkfu7sQGGwYGe9PwcdxY=; b=r89AyYbCZlVH5Ci4wtvn4woLVV4TLl/aWQz1YuMJcgDGDYeirGJYHP3/GxVdRNMLvn gWDsTCpWxatkHxpGXg4ze7m4ds7IBcq8Ulo9jN4SZMTkr07yKAgxoMH88MaNefZOdARp e2+KGGb6p1Z0mOrSW73EA8LRgoVvwNjT+yZghvV7F7JSj4zhREf2y486718TliwDXCFa IgUBTFOe9v0lGZu/blh8VeU+7YLI0A5mqG7pqIkSdrZnP0glZQsRYzAqCGIhIqg27+vy RPguKrIlKmBu77e98kgfB/CZfK414/qIk/3yVvdgqahXdkBXsTdVkItOzDJry61iO13r MM5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=NcUwvkHB; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t64-20020a638143000000b003aa4823f304si13275559pgd.267.2022.05.09.04.36.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 04:36:42 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=NcUwvkHB; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E98172C8BF4; Mon, 9 May 2022 03:40:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229882AbiEIFOI (ORCPT + 99 others); Mon, 9 May 2022 01:14:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231841AbiEIFLS (ORCPT ); Mon, 9 May 2022 01:11:18 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AE9C50013 for ; Sun, 8 May 2022 22:07:25 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id k126so7701465wme.2 for ; Sun, 08 May 2022 22:07:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bdhxBHkeZJKhLSAPI6OAJv4xkfu7sQGGwYGe9PwcdxY=; b=NcUwvkHBJUKCv0MFOi0aoimKs0nJQK03BTN3eOVPeiwTolHlhov3OuBgLwnc613hjZ D+vg5/Kr1EdeTsBtz/UTHpY53F8sayW0x4Z05Q469bh2TCvnRUUM9gSbkyI/Ni1gPQLE RCxch8rhsnYcYKxi3lWtFVyMbCjAqTWJMVsYygV8X/enVf8x71AJ/991FvAQdSsPljg+ TMay8lCypCIRilGJdXsvQpOKwT3tF5E7WlIPRSNBm0rPFsFQukMIqSidMBTz4XSQbuZn JfHggLWPByhiIq/F9nBtYUa7lNYxtAxH6l42cHcX/zZc2XJHUtMBSRjaCKbXiTKGd96k F4AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bdhxBHkeZJKhLSAPI6OAJv4xkfu7sQGGwYGe9PwcdxY=; b=QvX9Z5E1g9AGopAI0KEUTx2dQOSXmRcEpuXPybHgJRM/+oBMMk16xCRsZrWTZMPBw9 5UpZIr6FR2c6TYtNMr95VudB6Uram3Zzl/dCbxSYRKtdfpFbad+S6XstELGdbF/SrT0t JXTz94Gr1CeHrrB4cqxNGzOnU34k0XevAL961k2f12FWovcVmBP/iPN/6MUKt9/6LDYh VQvrpX5/fxlA3zwmISU3WVYymCNjTyHQMnRbNcZ0Pjh0eUAqbQUvY2FZTYu5c0K0Raxu /hh02IoUKNMHaTfQuLDh29FqgxtBz/Q/6O+HMdDn+Hdijra8MAS6NHEj6EM/9FHQ8Sb4 yveQ== X-Gm-Message-State: AOAM532seAKmrRyPDB1Lh0ueWtlxOMYXDidT9pS+6+68p4X/ynUD9Axx WbUIQc7INu/K16uIFADKqlNs6c62LUHkf3+fY+Xidg== X-Received: by 2002:a05:600c:3caa:b0:394:8fb8:716 with SMTP id bg42-20020a05600c3caa00b003948fb80716mr3482746wmb.105.1652072844025; Sun, 08 May 2022 22:07:24 -0700 (PDT) MIME-Version: 1.0 References: <20220506094512.116729-1-jiapeng.chong@linux.alibaba.com> In-Reply-To: <20220506094512.116729-1-jiapeng.chong@linux.alibaba.com> From: Anup Patel Date: Mon, 9 May 2022 10:37:12 +0530 Message-ID: Subject: Re: [PATCH] KVM: selftests: riscv: Remove unneeded semicolon To: Jiapeng Chong Cc: Paolo Bonzini , Shuah Khan , Paul Walmsley , Palmer Dabbelt , Albert Ou , KVM General , linux-kselftest@vger.kernel.org, linux-riscv , "linux-kernel@vger.kernel.org List" , Abaci Robot Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Fri, May 6, 2022 at 3:15 PM Jiapeng Chong wrote: > > 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 In future, please CC kvm-riscv@lists.infradead.org for KVM RISC-V related patches. I have queued this patch for 5.19 Thanks, Anup > --- > 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 >