From patchwork Thu Jun 9 11:07:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 632724 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 3rQMww2fsBz9t3Z for ; Thu, 9 Jun 2016 21:08:16 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751480AbcFILIH (ORCPT ); Thu, 9 Jun 2016 07:08:07 -0400 Received: from 82-70-136-246.dsl.in-addr.zen.co.uk ([82.70.136.246]:58238 "EHLO rainbowdash.ducie.codethink.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750909AbcFILIF (ORCPT ); Thu, 9 Jun 2016 07:08:05 -0400 Received: from ben by rainbowdash.ducie.codethink.co.uk with local (Exim 4.87) (envelope-from ) id 1bAxoS-0002yD-CS; Thu, 09 Jun 2016 12:07:48 +0100 From: Ben Dooks To: linux-kernel@lists.codethink.co.uk Cc: Ben Dooks , "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , netdev@vger.kernel.org Subject: [PATCH] net: ipconfgi: add declaration for ic_addrservaddr Date: Thu, 9 Jun 2016 12:07:46 +0100 Message-Id: <1465470466-11379-1-git-send-email-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.8.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The symbol ic_addrservaddr is not static, but has no declaration to match. Since the similar variables are all exported, add this one to the header file as well. This fixes the following warning: net/ipv4/ipconfig.c:130:8: warning: symbol 'ic_addrservaddr' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: "David S. Miller" Cc: Alexey Kuznetsov Cc: James Morris Cc: Hideaki YOSHIFUJI Cc: Patrick McHardy Cc: netdev@vger.kernel.org --- include/net/ipconfig.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/net/ipconfig.h b/include/net/ipconfig.h index c74cc1b..e5f4d6e 100644 --- a/include/net/ipconfig.h +++ b/include/net/ipconfig.h @@ -13,6 +13,7 @@ extern __be32 ic_myaddr; /* My IP address */ extern __be32 ic_gateway; /* Gateway IP address */ extern __be32 ic_servaddr; /* Boot server IP address */ +extern __be32 ic_addrservaddr; /* IP Address of the IP addresses'server */ extern __be32 root_server_addr; /* Address of NFS server */ extern u8 root_server_path[]; /* Path to mount as root */