lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160609.114529.1278133355511511268.davem@davemloft.net>
Date:	Thu, 09 Jun 2016 11:45:29 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	daniel@...earbox.net
Cc:	ben.dooks@...ethink.co.uk, linux-kernel@...ts.codethink.co.uk,
	kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
	kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: [PATCH] net: ipconfgi: add declaration for ic_addrservaddr

From: Daniel Borkmann <daniel@...earbox.net>
Date: Thu, 09 Jun 2016 14:15:43 +0200

> On 06/09/2016 02:11 PM, Ben Dooks wrote:
>> On 09/06/16 12:35, Daniel Borkmann wrote:
>>> On 06/09/2016 01:07 PM, Ben Dooks wrote:
>>>> 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 <ben.dooks@...ethink.co.uk>
>>>
>>> Well, how about making it actually static if it's only used
>>> from ipconfig.c ?
>>
>> The only reason is that I thought someone might want to
>> use it in the future. I have no particular insight though.
> 
> Usual policy is that if such thing is required, then it can be
> exported along with the code that is making use of it from elsewhere.

Right.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ