From patchwork Sat Dec 29 04:18:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: stephen hemminger X-Patchwork-Id: 208616 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 89C192C00F4 for ; Sat, 29 Dec 2012 15:20:23 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751474Ab2L2EUS (ORCPT ); Fri, 28 Dec 2012 23:20:18 -0500 Received: from mail.vyatta.com ([76.74.103.46]:51757 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751016Ab2L2EUR (ORCPT ); Fri, 28 Dec 2012 23:20:17 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 08DE214102C6; Fri, 28 Dec 2012 20:20:17 -0800 (PST) X-Virus-Scanned: amavisd-new at tahiti.vyatta.com Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oqxctoCH8+jz; Fri, 28 Dec 2012 20:20:16 -0800 (PST) Received: from nehalam.linuxnetplumber.net (static-50-53-80-93.bvtn.or.frontiernet.net [50.53.80.93]) by mail.vyatta.com (Postfix) with ESMTPSA id DA4F414102C4; Fri, 28 Dec 2012 20:20:15 -0800 (PST) Date: Fri, 28 Dec 2012 20:18:55 -0800 From: Stephen Hemminger To: Vlad Yasevich , Sridhar Samudrala , Neil Horman , "David S. Miller" Cc: linux-sctp@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH] sctp: make sctp_addr_wq_timeout_handler static Message-ID: <20121228201855.4275db64@nehalam.linuxnetplumber.net> Organization: Vyatta Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fix sparse warning about local function that should be static. Signed-off-by: Stephen Hemminger --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/net/sctp/protocol.c 2012-12-27 11:36:34.817072247 -0800 +++ b/net/sctp/protocol.c 2012-12-28 20:02:51.445778974 -0800 @@ -595,7 +595,7 @@ static void sctp_v4_ecn_capable(struct s INET_ECN_xmit(sk); } -void sctp_addr_wq_timeout_handler(unsigned long arg) +static void sctp_addr_wq_timeout_handler(unsigned long arg) { struct net *net = (struct net *)arg; struct sctp_sockaddr_entry *addrw, *temp;