From patchwork Sun Jun 9 12:28:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kbuild test robot X-Patchwork-Id: 250043 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 348552C02F6 for ; Sun, 9 Jun 2013 23:05:44 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753906Ab3FINF2 (ORCPT ); Sun, 9 Jun 2013 09:05:28 -0400 Received: from mga02.intel.com ([134.134.136.20]:3333 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753844Ab3FINFY (ORCPT ); Sun, 9 Jun 2013 09:05:24 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 09 Jun 2013 06:05:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,831,1363158000"; d="scan'208";a="347127635" Received: from unknown (HELO wfg-t420.sh.intel.com) ([10.255.12.186]) by fmsmga001.fm.intel.com with ESMTP; 09 Jun 2013 06:05:47 -0700 Received: from wfg by wfg-t420.sh.intel.com with local (Exim 4.77) (envelope-from ) id 1Ulejw-0000pS-HO; Sun, 09 Jun 2013 20:28:56 +0800 Date: Sun, 9 Jun 2013 20:28:56 +0800 From: Fengguang Wu To: netdev@vger.kernel.org Cc: Lorenzo Colitti Subject: [PATCH net-next] net: ipv6: ping_v6_seq_show() can be static Message-ID: <20130609122856.GA3166@localhost> References: <20130609122426.GA2715@localhost> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130609122426.GA2715@localhost> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org TO: Lorenzo Colitti CC: netdev@vger.kernel.org CC: linux-kernel@vger.kernel.org Signed-off-by: Fengguang Wu --- net/ipv6/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Sorry I just realized this patch could be folded into the previous one.. It was two patches because the problems are found in two times. -- 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 --- linux-next.orig/net/ipv6/ping.c 2013-06-09 20:20:11.085728559 +0800 +++ linux-next/net/ipv6/ping.c 2013-06-09 20:25:25.913736041 +0800 @@ -198,7 +198,7 @@ static void *ping_v6_seq_start(struct se return ping_seq_start(seq, pos, AF_INET6); } -int ping_v6_seq_show(struct seq_file *seq, void *v) +static int ping_v6_seq_show(struct seq_file *seq, void *v) { if (v == SEQ_START_TOKEN) { seq_puts(seq, IPV6_SEQ_DGRAM_HEADER);