Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3519038pxx; Mon, 2 Nov 2020 11:02:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzzvqhWViY03DWMK0MhPr6VY2nKSoilsxpdhW8AS2vWlBY3n7f6y+QFC9nXrW/LTmNZ4li2 X-Received: by 2002:adf:9184:: with SMTP id 4mr21992532wri.258.1604343730705; Mon, 02 Nov 2020 11:02:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604343730; cv=none; d=google.com; s=arc-20160816; b=K0IT2GyOmhxISP7rBiSuxYpfCVyw14qxxG17JnVFedfF/ciBFWGBYcuyd+SFi0HRlg QPdaUAJtTFHlNNdHE84abxTe6m24PDKpTe2qjUBknnQrmJkKtABKhUplk+p3QfxMqhwv CBOZHx/N3g89uw0ni35GDMPmIESjFP4qt69yNhM7Dk8Altw5flMsAqUVZozGEwt9MRNi TBX3YNsYIE3AFre79VCrhQCzcdFPwqweAiIAU0BHvC1v+tGaAN/M7GEn/RSYsFeMRDQN 44JG/qEivfSESc5jgbP+D6RgfhC7CN1ZBusv9dyRV6ZTKLRJR27pHIX9HfzPIUc1P0y/ 6J9A== 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=dpf57obcTDUfpgE4X4aU2uC5mE04uKRHqZ7salaebWY=; b=uQImfLfUgUXbcDggZfZgQzeHycm54QpZbh6LFYi6JpjfKtVqsQMiv3cLRYoNyG7TEB FvF9Z4/yMDwDmc7BkMXKbavmbKcPPC+t1NGpocfU/0VdHVi7mdp/xC6QmDmkJ2PlaZxO +L+WEqyrG/0u852u0V3oAlrJ9/kUSeFG2m+fTLR+4DK8y39bNcAL6760oOrY5iJPvX7O Icy3ytWJnTMVEA12f5krGWHG+WhszI00k1xoCFGhkC1KbNA8YPVIxyQcFAr8bLdVTb4Z pwLFyDRyjRryt1xGv6zp8ppXdW6Psk034fdRxqaI/gUaN9eVw8B1kionwRrclYD37ati MwzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uIuQHo1b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ly11si10588650ejb.28.2020.11.02.11.01.47; Mon, 02 Nov 2020 11:02:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uIuQHo1b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726473AbgKBTAA (ORCPT + 99 others); Mon, 2 Nov 2020 14:00:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbgKBS77 (ORCPT ); Mon, 2 Nov 2020 13:59:59 -0500 Received: from mail-yb1-xb41.google.com (mail-yb1-xb41.google.com [IPv6:2607:f8b0:4864:20::b41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01E36C0617A6; Mon, 2 Nov 2020 10:59:59 -0800 (PST) Received: by mail-yb1-xb41.google.com with SMTP id b138so12625361yba.5; Mon, 02 Nov 2020 10:59:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dpf57obcTDUfpgE4X4aU2uC5mE04uKRHqZ7salaebWY=; b=uIuQHo1bXiaGsEZs1SD690jNAApi1irtsV2HmJhEYpjfIvNYYDblmOlMnBE+35n9in yjkEiUizRO2qnAsIGDqxw//QMoA9DYkrSzTqflaiCczVSAIovv9ZVSbWCkPjRwPVjWg0 gB17Xe4pdfDCK4rypE2cdD/w2tS1iHIz5E8RIL/IGHIhHPRTrIR4JlevYkUbYIiIeqzo lyHtNLcm2U8XvmB0PkcL78GGmvSlB45Z7KeK3I0wBkIXBrpwfSRvBPhGb65vdF6zISWi /W9r3Z0AR9CL9kezruGAvSECiCBYBuh2/C5+E/SgjQO1NLErI+LG8C3Mh9V+KJhyej5L lRmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dpf57obcTDUfpgE4X4aU2uC5mE04uKRHqZ7salaebWY=; b=RrkuB7aeqCsSzlnu9kyeZhxi4eZwJXzOBbWz84SwvNe++bNZhTzZjTU1a0fckXYwOf geKL2QxovY+fKhyA/8AM2txg5zWSzrK18UqVtF03WRRH88MUyn2n5zFj1VcDYDhtK2OL x85r4/dWokT8NmLtBHIIark724q9LFNrGaSdYPdVPdENKfBSxbpH8iOfQ+SFSpgOdGB6 2s3jEhiCfLgF7gFROUJtUVOVAo0TwggbwReF6L5tCkh2SqMqsRFu7PNMfWuwepgJwJ3W qPum/TEBmLm9O4RJT419+iVlmfmC7J92dqYdwkv+pGeoaJ/OJI7VuLVIzB9vjTUvnT7s X/jA== X-Gm-Message-State: AOAM531LwKrIU4kFI+9KgJseWOFX69D3rWWBuiwgXHj8GdDrVxImBG1h ScHmIvAz33OxNqZIha6LWvUcPHydF9BNE0qwvwoDKYV62Cklxw== X-Received: by 2002:a25:da4e:: with SMTP id n75mr22709876ybf.425.1604343598235; Mon, 02 Nov 2020 10:59:58 -0800 (PST) MIME-Version: 1.0 References: <20201101153647.2292322-1-trix@redhat.com> In-Reply-To: <20201101153647.2292322-1-trix@redhat.com> From: Andrii Nakryiko Date: Mon, 2 Nov 2020 10:59:47 -0800 Message-ID: Subject: Re: [PATCH] net: core: remove unneeded semicolon To: trix@redhat.com Cc: "David S. Miller" , Jakub Kicinski , Alexei Starovoitov , Andrii Nakryiko , Eric Dumazet , ap420073@gmail.com, Cong Wang , jiri@mellanox.com, Maxim Mikityanskiy , Networking , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 1, 2020 at 7:38 AM wrote: > > From: Tom Rix > > A semicolon is not needed after a switch statement. > > Signed-off-by: Tom Rix > --- Yep. Acked-by: Andrii Nakryiko > net/core/dev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/core/dev.c b/net/core/dev.c > index 751e5264fd49..10f5d0c3d0d7 100644 > --- a/net/core/dev.c > +++ b/net/core/dev.c > @@ -8898,7 +8898,7 @@ static bpf_op_t dev_xdp_bpf_op(struct net_device *dev, enum bpf_xdp_mode mode) > return dev->netdev_ops->ndo_bpf; > default: > return NULL; > - }; > + } > } > > static struct bpf_xdp_link *dev_xdp_link(struct net_device *dev, > -- > 2.18.1 >