Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1354849imu; Thu, 20 Dec 2018 14:58:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/U4g6lPHMFKjSWC7xLtq7KGSV+5NegPW/wzUikQqIMMUVDunK1tdNrPZmpRlRH0F8mOxrql X-Received: by 2002:a62:35c7:: with SMTP id c190mr128180pfa.76.1545346729945; Thu, 20 Dec 2018 14:58:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545346729; cv=none; d=google.com; s=arc-20160816; b=M3fimUyo26e0aA9HikU/OaptCWD03OJwtpC6C+pezW/8NItdUP/VJWDu3dG3PM9d1y SH7usfJnTl+nMx++u8VaYQ3d6fT6CS/EtndpAfRQUaBmbqprbDMO7ODuo+QCz0Y+jLS3 EuFXhEQmRmzSvHqK3FVE8L49AgRRGBvy5f11jJTdpg/o4ZLoSfskh7PNa7JwyVKrzYWP oe5J/R3rlua/L/BBCYOXPlyvPNT28j6HpDOy6X81SSDEU1lQFGVNOvhqFtDXgQZ4A9xI ZbYtE590YCwb+YbOBzl+OKki+T3k8VjX27wh2CswyYwyFcYA3bLfQ0QmCAD4hzxLm1OK jexQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=DQl5q2KGBB0/04L1s+hBGXMa2/6xBRFH3HWHx5madWU=; b=Z4Th2eKAIW8YdGfG+XLeA+lWb8VrviNivDUcjyqcjnz7lUsQ2dcJl8VgG+O1YXTBuh 2ne6H0PZg/Z/FajPZDpdBDbKqJn/AbJDRKwg3xymYN9z8LsHHWstH8ceZo8rpteFgyn+ bBxEMvwhEncvUzeIPTEjvyF/VVX/m+8vLItb/K1GeHaAOf+UCtySlQIhpbDLRYXZmWB9 cRK9R0XTtx0gVxIIzzIuAklvFrpGM6bXWbR8h3mBPMwNqfUd/iZusQNsRxJnTeniwv6u RnuOzz81+lFwnb5+feQkWI7QQLtR1qoBwMkWVCeX4uh7lP0ZJdqUjN12oiLU53EQyPVs 4VlA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si1257542pgl.386.2018.12.20.14.58.33; Thu, 20 Dec 2018 14:58:49 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732215AbeLTQuy (ORCPT + 99 others); Thu, 20 Dec 2018 11:50:54 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:60111 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727652AbeLTQux (ORCPT ); Thu, 20 Dec 2018 11:50:53 -0500 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1ga1X8-0007Cs-M4; Thu, 20 Dec 2018 16:50:50 +0000 From: Colin King To: "David S . Miller" , David Ahern , Roopa Prabhu , netdev@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH][next] neighbour: remove stray semicolon Date: Thu, 20 Dec 2018 16:50:50 +0000 Message-Id: <20181220165050.17429-1-colin.king@canonical.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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