From patchwork Sat Aug 4 19:31:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Silviu-Mihai Popescu X-Patchwork-Id: 175125 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 9FAE52C0089 for ; Sun, 5 Aug 2012 05:32:01 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754075Ab2HDTbe (ORCPT ); Sat, 4 Aug 2012 15:31:34 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:59700 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753901Ab2HDTbd (ORCPT ); Sat, 4 Aug 2012 15:31:33 -0400 Received: by weyx8 with SMTP id x8so1110834wey.19 for ; Sat, 04 Aug 2012 12:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=PnQEbv4Ilk9BKG+JA2dqeo921huYycxXplyX0IxqB1M=; b=RNY8r+IF54tVxJwpzTYCD2hDSnknuvg7Ikdy0Xa5ruYNK7IiwboQf8kvfKqeBSL1N/ D2EdlYU5Foh3aSpofZwmJHJYacmwLQ0zPdOvNTdqeim8pZoEys9LHGr2Z7rYl/PI/kFh hqMS91Q2pkGuSmj+PEk/eB1Q1vCKWxsXbfuyTyXiJgnAub9+u0fMJ5h3rhp3eT/UPDHk AIHt4hR9V4fOpx+LpXW0OQN2Q3zgA5l4SSHjsAuVewPRb5KTK7NBuRcVP0dgIqcyr6C2 1Q2Z+TFVhzqhW9LjBlFgaskxEStmHJ4mjF6IshBUv5hGW8lf08HKfy4mGe+1x3b5xHHs dy9A== Received: by 10.216.144.234 with SMTP id n84mr2985426wej.78.1344108691793; Sat, 04 Aug 2012 12:31:31 -0700 (PDT) Received: from localhost.localdomain (p22.eregie.pub.ro. [141.85.0.122]) by mx.google.com with ESMTPS id cl8sm5199911wib.10.2012.08.04.12.31.30 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Aug 2012 12:31:31 -0700 (PDT) From: Silviu-Mihai Popescu To: netdev@vger.kernel.org Cc: davem@davemloft.net, kuznet@ms2.inr.ac.ru, jmorris@namei.org, yoshfuji@linux-ipv6.org, kaber@trash.net, linux-kernel@vger.kernel.org, Silviu-Mihai Popescu Subject: [PATCH] tcp_output: fix sparse warning for tcp_wfree Date: Sat, 4 Aug 2012 22:31:29 +0300 Message-Id: <1344108689-17896-1-git-send-email-silviupopescu1990@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fix sparse warning: * symbol 'tcp_wfree' was not declared. Should it be static? Signed-off-by: Silviu-Mihai Popescu --- net/ipv4/tcp_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 3f1bcff..18475e0 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @@ -940,7 +940,7 @@ void __init tcp_tasklet_init(void) * We cant xmit new skbs from this context, as we might already * hold qdisc lock. */ -void tcp_wfree(struct sk_buff *skb) +static void tcp_wfree(struct sk_buff *skb) { struct sock *sk = skb->sk; struct tcp_sock *tp = tcp_sk(sk);