Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp482802pxm; Wed, 2 Mar 2022 02:29:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTM26BXwgg2AUVSHi7X1Be3I504wklX0WTwa8PkKUISW+n3s1xG06eTxUBTeIAUrvgqpze X-Received: by 2002:a17:902:c713:b0:150:506:dc0b with SMTP id p19-20020a170902c71300b001500506dc0bmr30775401plp.116.1646216956012; Wed, 02 Mar 2022 02:29:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646216956; cv=none; d=google.com; s=arc-20160816; b=zfGejXQejBVL3VXmFsDsQAYIAu2X59QkH+TqmHMbfIG0rn+JUXOt5od0lj/3M0nqtz s4AGqqNbegGPPq2NIXoo3ILLrWCgblylC7TTeNMKhB9mUPhg6xtdyY4jOnA8UMQJRc8h tjEU+TJ9wwWtCSWJI1A0rmbgc6HlUfzpQ1zxZFmSEPOhUE9pBKGV7H9FgocoTYMCohHo Dpe4yN9g7Y5KChE9Jl3hbatstXaL7KtDVvfapXoI147bjWYATmHi6ztAvrPxvu35l9z5 kWXXKa2Mmyetl25dXOe0REhcVj3BY0LfP+DMPu8pc3s7IT76HhlQAae3UC6X0u+hiemx j0PQ== 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=3yt7b8oHQQpYaUvb/xOL7JlfwQ71+X5i0XbUTbCl8pc=; b=HPQwZFAiuHxueXKRRaEUUWh4iqHlhxM0+BwDYLizbU0TIcH9CwFZlqmjoFUbAmuJpl IzI+ujbETD1cKWEG3qOmj3gwFghBrFY9R40a8f1DKv6EPGRmyjYjb8rYoTzV0X1ouHOi Q6DznJkSbayJIoY/wJKX3I0IsYpTF0U2s7sIDpqyAgiaIemUU6Rp95TKBlmzqv8KBddK DROto/yLDlYdh2VU0DeLHzV4nuCKskjkBtIXu9/4qb/xVVwj2mOIhOWCe+8xImO3rGZ+ YG6+TLlCeW04GnneFijo7WHP9N8jF1rAMOm5LwJjTJTU+ZlER1i+zk2jDJn0NRSw6IGI dk6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=MOiMICj8; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020a654142000000b0037041e46ae2si16698815pgp.409.2022.03.02.02.29.01; Wed, 02 Mar 2022 02:29:15 -0800 (PST) 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=pass header.i=@google.com header.s=20210112 header.b=MOiMICj8; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238444AbiCAWjo (ORCPT + 99 others); Tue, 1 Mar 2022 17:39:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233241AbiCAWjn (ORCPT ); Tue, 1 Mar 2022 17:39:43 -0500 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C46AA3DDD3 for ; Tue, 1 Mar 2022 14:39:01 -0800 (PST) Received: by mail-yb1-xb2e.google.com with SMTP id j12so30192784ybh.8 for ; Tue, 01 Mar 2022 14:39:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3yt7b8oHQQpYaUvb/xOL7JlfwQ71+X5i0XbUTbCl8pc=; b=MOiMICj8Wo+edtTXbRvEJBGehmbkn84kMCiG2WRa/hekMCxrbf1OqvNVg9dcoaTrII OseVEzr4ahjRA3JZL02HlfN10JrfJP9reNBqtYfYHkrFY1gh2iDAeihUMlNfKprRsPsf +iUK4ERA1lLMS7GBmWCh0zY7wAFnDrBG6lc0x1WmWhvDnRelkLQDOHsCY0pjrPePgHcp WdtuvcyRzTta6RlfnDXQs+IEFoereErXffJ9g3XORW8HajxXG82U0XSELTnNzF9InJAG VncslWcDbJ/rcFFffO8AzhQSGhVaLLahd1o+BrEGfonrXW1U4aZOso7oo9qGI+KsCwIZ 2/Rw== 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=3yt7b8oHQQpYaUvb/xOL7JlfwQ71+X5i0XbUTbCl8pc=; b=Uugx2WDqRvqxPRaYJDVw/LFLX76l8fjn/ZHgTLbpAx7tRZPNSzMam/lf3nh+hLon4x L+HxV/gF387F5xmWKRh+HLttCHEJ/JSfeJ236aaIpcdOHNJHVQ4yUr81OfskWfvirqdg ny+X0sMgV7LuZwQZEBSgR6S5DxA9RVvehlyoi8LvEJPzigXmANBLhYTP5A22K8clxl3J 4W6JHwS2VWCdyxHNCNY+Gfc/25jkUmHN51fO4sDyECZOAH7JrJZ0JicOb+z9oDVyBMDp +BonRwyRi+464UwLthsXAfyE/urKCGks6gTFXIlTEqSiMxrbYeSv5OKM1NlnmmAE/qio E0IQ== X-Gm-Message-State: AOAM533QLWWRYjEODyn0RnPT9sht+fsN9sosJcRoiIjcpz92dgAyHN+D SFkcrQqtfRdaQmKoYuIygJB2AOGs0CTe5whB6ZTFmg== X-Received: by 2002:a25:32d4:0:b0:628:9974:3baf with SMTP id y203-20020a2532d4000000b0062899743bafmr1349119yby.497.1646174340805; Tue, 01 Mar 2022 14:39:00 -0800 (PST) MIME-Version: 1.0 References: <1646105865-22040-1-git-send-email-baihaowen88@gmail.com> In-Reply-To: <1646105865-22040-1-git-send-email-baihaowen88@gmail.com> From: Josh Don Date: Tue, 1 Mar 2022 14:38:49 -0800 Message-ID: Subject: Re: [PATCH] sched/core: remove unneeded semicolon To: Haowen Bai Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Benjamin Segall , Mel Gorman , Daniel Bristot de Oliveira , linux-kernel Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-18.1 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,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 On Mon, Feb 28, 2022 at 7:37 PM Haowen Bai wrote: > > Eliminate the following coccicheck warning: > kernel/sched/core_sched.c:210:2-3: Unneeded semicolon > > Signed-off-by: Haowen Bai Thanks, Reviewed-by: Josh Don > --- > kernel/sched/core_sched.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/sched/core_sched.c b/kernel/sched/core_sched.c > index c8746a9..085f188 100644 > --- a/kernel/sched/core_sched.c > +++ b/kernel/sched/core_sched.c > @@ -207,7 +207,7 @@ int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type, > default: > err = -EINVAL; > goto out; > - }; > + } > > if (type == PIDTYPE_PID) { > __sched_core_set(task, cookie); > -- > 2.7.4 >