Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1044431imu; Thu, 20 Dec 2018 09:12:34 -0800 (PST) X-Google-Smtp-Source: AFSGD/XqowzNCtX88+RiuKzkEiOJuAyXmItq3Fm+Sn69MzVTvbH4kuWJH7/XaLWgcGcpUFhl9AYD X-Received: by 2002:a63:9843:: with SMTP id l3mr23559948pgo.413.1545325954292; Thu, 20 Dec 2018 09:12:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545325954; cv=none; d=google.com; s=arc-20160816; b=zRYTvVs8/ktHpxS0HXzpKddwI1KFSY2Hgv2vSApVmtpX+qdY92pGYm1r2rKvFboTmo FHd5fte838gs5jM9dTlRFeOLD5pAHEHBeMHmExNkEu1QBqrE1HFsQZohpgrZm8h43q1q PvDGxcFcXeDWNC6YW3Qvn/MkX6CM2l0r+nAkWkJFT+3x5zDelqVBtUU/wG9JpX/Eb9Qs XNELNkGw5tRu+nQuewy0kXlS7owWTeyr6iq1bxryQJi+QvpWaDUzyKr1nb7Nflfz+hNd +PrRGWm/QUgraHMr+LkryCRbod4UHJqt6h5Duq+PdJ2C1HfSnbIJgNj/VDmUxv1NAFNp 88YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=DVr6MGctpu9yauzkVa8+kfqvb2kYqRr/TVyHWiOIj+E=; b=Xvhcv0UpATyGtEVtVtHBV0QiGd3c5XeDNYeqh+RuG09x3giia1Kcnfm2PyjVpEVHzo 1qw01JVluezOVk5sD9hknnJ96NbhDmKtoSQrayoWls8W5KdleXsrWsUMf/UGHfJb4cCR J0TT6FMrC3Ez7d5kpLcPfmOCDQJADiOXZIDc1fIjkKFitNcLDqB6bT/374EmgfEMdY8z 0sHd2Z7sLpzO3qN9ECrl3FnJNElhB8hdxFT+nZL56ARZMCaGFojpQ5lHhYNHDTXobthB vVpjh89hVdZbdE2tc3axPD7TW9bzZD2EdnQSU9abY3P5atrPqy+dQOq6IvUcZmLecORd dw2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cumulusnetworks.com header.s=google header.b=UYTxpxuL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cumulusnetworks.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5si11713168pgn.243.2018.12.20.09.12.17; Thu, 20 Dec 2018 09:12:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cumulusnetworks.com header.s=google header.b=UYTxpxuL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cumulusnetworks.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732667AbeLTQ4O (ORCPT + 99 others); Thu, 20 Dec 2018 11:56:14 -0500 Received: from mail-ed1-f41.google.com ([209.85.208.41]:45153 "EHLO mail-ed1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729722AbeLTQ4N (ORCPT ); Thu, 20 Dec 2018 11:56:13 -0500 Received: by mail-ed1-f41.google.com with SMTP id d39so2305501edb.12 for ; Thu, 20 Dec 2018 08:56:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cumulusnetworks.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DVr6MGctpu9yauzkVa8+kfqvb2kYqRr/TVyHWiOIj+E=; b=UYTxpxuLspR6tqYz0tQ2nKeNP5cDQq2Bks0wMh2Idv8K5Y/VwyudZStk98HqI9A81F OZ8ZKn6iXb8KAHf6O9+iH3WKAY+o1eOfVCUFbE8M5io0HYufLEGQIOgsZxERQaEY2RE2 TDBN85H7DyEgVHdSteaCmgPX/eikUPLNYXR30= 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=DVr6MGctpu9yauzkVa8+kfqvb2kYqRr/TVyHWiOIj+E=; b=Mf/RtQNcDsB1lqagpP840yM8InDWbnYsXH993m7gdBzn01xM9/Or3e1TbedLbEtuIc AqhYZb7YH9+CLWuKUrpcLrcECv13ZqFEs0zjrBYHzqGWwbFg57NZEDx0mp+gjloPxHcy ikHWhS4WJKgOpiCYqaOVQyqTNLe2F2p/lKtjCe2KaA4qO9vGgHBE0gQMuToXUB2FXDIn GuBGz7oQKs5aFn77r6dhbZ8TOdPeZOBpwyJmHsdfBpMkneUi2dEP91y4ZJLIBqLc4u9i nbw9bOtRuwNMVGIWMApwCMqWLDLnfpXIPHjubg/FFxsVLiL5Zp6PtuyHC2hHei1W7/g9 9R+A== X-Gm-Message-State: AA+aEWa347V8+6S9uSJqaz7eJx4rpVq3zzLg/7W7nY3GtBaPy8dd7Afx gaCRHHZpcGVkAZoa7FgxTKGuwp/SSXOn4+P4mcRB0g== X-Received: by 2002:a17:906:6c14:: with SMTP id j20-v6mr20266936ejr.41.1545324971862; Thu, 20 Dec 2018 08:56:11 -0800 (PST) MIME-Version: 1.0 References: <20181220165050.17429-1-colin.king@canonical.com> In-Reply-To: <20181220165050.17429-1-colin.king@canonical.com> From: Roopa Prabhu Date: Thu, 20 Dec 2018 08:56:01 -0800 Message-ID: Subject: Re: [PATCH][next] neighbour: remove stray semicolon To: Colin King Cc: "David S . Miller" , David Ahern , netdev , kernel-janitors@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 20, 2018 at 8:50 AM Colin King wrote: > > From: Colin Ian King > > Currently the stray semicolon means that the final term in the addition > is being missed. Fix this by removing it. Cleans up clang warning: > > net/core/neighbour.c:2821:9: warning: expression result unused [-Wunused-value] > > Fixes: 82cbb5c631a0 ("neighbour: register rtnl doit handler") > Signed-off-by: Colin Ian King Acked-By: Roopa Prabhu Thanks!. > --- > net/core/neighbour.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/core/neighbour.c b/net/core/neighbour.c > index 43687c9abe1d..1c4b7814ac32 100644 > --- a/net/core/neighbour.c > +++ b/net/core/neighbour.c > @@ -2817,7 +2817,7 @@ static int neigh_get_reply(struct net *net, struct neighbour *neigh, > static inline size_t pneigh_nlmsg_size(void) > { > return NLMSG_ALIGN(sizeof(struct ndmsg)) > - + nla_total_size(MAX_ADDR_LEN); /* NDA_DST */ > + + nla_total_size(MAX_ADDR_LEN) /* NDA_DST */ > + nla_total_size(1); /* NDA_PROTOCOL */ > } > > -- > 2.19.1 >