From patchwork Fri Dec 2 16:38:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Quartulli X-Patchwork-Id: 1384 Return-Path: Received: from confino.investici.org (investici.nine.ch [217.150.252.179]) by open-mesh.org (Postfix) with ESMTPS id E86C56007B4 for ; Fri, 2 Dec 2011 17:39:13 +0100 (CET) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@autistici.org; dkim-adsp=pass Received: from [217.150.252.179] (confino [217.150.252.179]) (Authenticated sender: ordex@autistici.org) by localhost (Postfix) with ESMTPSA id DC2CFC864A; Fri, 2 Dec 2011 16:39:12 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 confino.investici.org DC2CFC864A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1322843953; bh=d4sMpj/EkKA5BVNNbkn9HCXT0JGmM84ZHg3JeAeOOdI=; h=From:To:Cc:Subject:Date:Message-Id; b=KCrG0CAZPl8tCoJ38umuF9WR5iTnG4C+ytz+Gbqhh3T6GZGzddNW69c2cV9Z5dgTw tmpG6HnEggnSRdXzLf2zKFRwPvCLC/wOAyOZzIS8ZRZfl7UhwXND/Ug3XqF04dB/3P qpfDmpdfN3gAF3ldnRvtsOUw5HQvmSLDxeJLoors= From: Antonio Quartulli To: b.a.t.m.a.n@lists.open-mesh.org Date: Fri, 2 Dec 2011 17:38:52 +0100 Message-Id: <1322843932-21385-1-git-send-email-ordex@autistici.org> X-Mailer: git-send-email 1.7.3.4 Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: format multi-line if in the correct way X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 16:39:14 -0000 in an multi-line if statement leading edges should line up to the opening parenthesis Reported-by: David Miller Signed-off-by: Antonio Quartulli --- routing.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/routing.c b/routing.c index d5ddbd1..4363d19 100644 --- a/routing.c +++ b/routing.c @@ -627,8 +627,7 @@ int recv_tt_query(struct sk_buff *skb, struct hard_iface *recv_if) /* Ensure we have all the claimed data */ if (unlikely(skb_headlen(skb) < - sizeof(struct tt_query_packet) + - tt_len)) + sizeof(struct tt_query_packet) + tt_len)) goto out; handle_tt_response(bat_priv, tt_query);