From patchwork Mon Dec 28 16:47:51 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartley Sweeten X-Patchwork-Id: 41857 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 1FE3AB6EED for ; Tue, 29 Dec 2009 03:48:32 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751855AbZL1Qrz (ORCPT ); Mon, 28 Dec 2009 11:47:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751548AbZL1Qrz (ORCPT ); Mon, 28 Dec 2009 11:47:55 -0500 Received: from exprod6ob109.obsmtp.com ([64.18.1.22]:51871 "HELO psmtp.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1750963AbZL1Qry convert rfc822-to-8bit (ORCPT ); Mon, 28 Dec 2009 11:47:54 -0500 Received: from source ([63.240.6.3]) (using TLSv1) by exprod6ob109.postini.com ([64.18.5.12]) with SMTP ID DSNKSzjhOGo+VlmI03HQ2ozeNOzpIOSSPx2Y@postini.com; Mon, 28 Dec 2009 08:47:54 PST Received: from d01smtp07.Mi8.com ([172.16.1.114]) by Outbound02.Mi8.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 28 Dec 2009 11:47:51 -0500 Received: from mi8nycmail19.Mi8.com ([172.16.7.219]) by d01smtp07.Mi8.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 28 Dec 2009 11:47:51 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: [PATCH] net/ipv4/ipconfig.c: local symbols should be static Date: Mon, 28 Dec 2009 11:47:51 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] net/ipv4/ipconfig.c: local symbols should be static Thread-Index: AcqH3X5Tr6v9MJbYRC+nusqZvudHVw== From: "H Hartley Sweeten" To: , Cc: "David Miller" X-OriginalArrivalTime: 28 Dec 2009 16:47:51.0580 (UTC) FILETIME=[7EA5D5C0:01CA87DD] Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The symbol 'ic_dev_xid' should be static since it is not exported. Signed-off-by: H Hartley Sweeten Cc: David S. Miller --- -- 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 diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 10a6a60..0a788bf 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c @@ -139,7 +139,7 @@ __be32 ic_servaddr = NONE; /* Boot server IP address */ __be32 root_server_addr = NONE; /* Address of NFS server */ u8 root_server_path[256] = { 0, }; /* Path to mount as root */ -u32 ic_dev_xid; /* Device under configuration */ +static u32 ic_dev_xid; /* Device under configuration */ /* vendor class identifier */ static char vendor_class_identifier[253] __initdata;