Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5311313rwp; Mon, 17 Jul 2023 01:32:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlFFpjKVk6wH6k1XdS1OIs775kSwNceqtpszEXj1o7v6bow4VCf8Ng1Lz+lN2HQfHYbeFQju X-Received: by 2002:a17:902:8349:b0:1b9:c027:b5b5 with SMTP id z9-20020a170902834900b001b9c027b5b5mr10661493pln.34.1689582762482; Mon, 17 Jul 2023 01:32:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689582762; cv=none; d=google.com; s=arc-20160816; b=aBTSiZ0suPIqNNLY6PjhRozVHDqLSBxie5aO9kvTCOsin+8LwwZk76vW+28V9PXYB/ Ekf+OreCFkMzAvtlgdyDpBaWa4ROiSgR7Z/jZyYiBreZXQ03F9E/sNoIc5HNidLmpCfj 0Y2miHNBNR+zNiEOsoCpAMPgk6PaDVJyQ3KjVezE6FJDWPhN+GPP2EhD6JuMUrrD7mbu f6fx4NLZSbIc6SlfQ8CY5dPPinKtlMzyvS6HUwYBLRKpfC5Ruk4/yUhUIgMrA0P/3O6V CvNYbadhuS4XakwfJM27mEZKE6h0pLdg7r9lI4Uu7N4eoCcHFrL1Pjbow/IgiZ6c22/h 9Paw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=7W7zjgVQkLvDxmGca+77Pj9SMWWjleU+hjZX/4cM4UU=; fh=pNzjeigFhzzEK6/bVijgjecqrP5Kj3wloFwhfE1Yweg=; b=pUNVqoyfAsvPQcMbqjXbieQlsd6DtgpxuBRk71amA6SwiVZ/zABhL9mJBtguxEFeDu na+1bWsx54t+pzYVNJKAo06ka0JOMSPqCa2L8HD/tv6uVZyTLcUZPr56ebETSgr1avwe 3BuedUy3kywm97jENCy2zHU0eTAsgEoc4BcQjEug63SzGQ4+qswP86onzoNju3G/fpdG 3u3tgsU2yRJK/nmTDLu1HJ0aJz74FfSOs209iHql+3tqD+SBhruKRtLw+mXI6BArq3Q6 1ZNyIYlp3O/Ap0ZDj9LuhnBajjnOhJXGVzC6sv9Lyz2fVAThnb9vzUUyD2tQLcbQmQ6f ehxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=HMJGniy9; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a170902dacc00b001b9fb1a0465si10340137plx.385.2023.07.17.01.32.30; Mon, 17 Jul 2023 01:32:42 -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; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=HMJGniy9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231195AbjGQIHN (ORCPT + 99 others); Mon, 17 Jul 2023 04:07:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbjGQIHL (ORCPT ); Mon, 17 Jul 2023 04:07:11 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D39E71995 for ; Mon, 17 Jul 2023 01:06:33 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R4F5b6Y4BzBR7b4 for ; Mon, 17 Jul 2023 16:06:11 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689581171; x=1692173172; bh=HCbBZb7kJTmDWi3ebtccrSL5d75 7N5zS4lsS2prlWPg=; b=HMJGniy9XMp5geCvp2erwRPS115Sp/ay58HDPX855QY KTbDCh4bfoLyh0gyCsmZe+c9dGDmIxPldukRa/4MGiOoK6q5bpMZYyNIPwp1Z/Pu rDs1ndiT8GkjOceqlXGj3+ZLc1s62HJw1T3thGqLQWoL0prFS9gBQpdHDEHphv/N bm6hnHZUsST7rpj2oPEUUrLk/gesN0qdJoO2mcIsvWQplmEiDRScaBg7x7FsnipL ay0sM31+DHu8IAIXiw4C3UZsOCePsaLsOtSXKhSKeqchDvuCvogmXrTpkERrWcdM AYI8h2VNcY87jw4MA88A0IoxHtayy/f8Ouu5gZBlmQw== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OV-t-ra7Q_3K for ; Mon, 17 Jul 2023 16:06:11 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R4F5b26ShzBQt1h; Mon, 17 Jul 2023 16:06:11 +0800 (CST) MIME-Version: 1.0 Date: Mon, 17 Jul 2023 16:06:11 +0800 From: hanyu001@208suo.com To: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, atishp@rivosinc.com, maz@kernel.org, apatel@ventanamicro.com, guoren@kernel.org, sunilvl@ventanamicro.com, ben-linux@fluff.org, vschneid@redhat.com Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: kernel: insert space before the open parenthesis '(' In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: X-Sender: hanyu001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RDNS_NONE,SPF_HELO_FAIL,SPF_PASS,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 Fix below checkpatch error: /riscv/kernel/smp.c:93:ERROR: space required before the open parenthesis '(' Signed-off-by: ztt <1549089851@qq.com> --- arch/riscv/kernel/smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/kernel/smp.c b/arch/riscv/kernel/smp.c index 23e533766a49..1454f2415b7f 100644 --- a/arch/riscv/kernel/smp.c +++ b/arch/riscv/kernel/smp.c @@ -90,7 +90,7 @@ static inline void ipi_cpu_crash_stop(unsigned int cpu, struct pt_regs *regs) cpu_ops[cpu]->cpu_stop(); #endif - for(;;) + for (;;) wait_for_interrupt(); } #else