lkml.org 
[lkml]   [2020]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux-next: Tree for Sep 17 (net/ipv4/devinet.c)
From
Date
On 9/17/20 3:23 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20200916:
>


Maybe some older versions of gcc just can't handle IS_ENABLED() inside an
if (expression) very well.

> gcc --version
gcc (SUSE Linux) 7.5.0

This patch:

commit 9efd6a3cecdde984d67e63d17fe6af53c7c50968
Author: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Date: Wed May 13 15:58:43 2020 +0200

netns: enable to inherit devconf from current netns

causes a build error:

../net/ipv4/devinet.c: In function ‘devinet_init_net’:
../net/ipv4/devinet.c:2672:7: error: ‘sysctl_devconf_inherit_init_net’ undeclared (first use in this function); did you mean ‘devinet_init_net’?
sysctl_devconf_inherit_init_net == 3) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
devinet_init_net
../net/ipv4/devinet.c:2672:7: note: each undeclared identifier is reported only


--
~Randy
Reported-by: Randy Dunlap <rdunlap@infradead.org>

\
 
 \ /
  Last update: 2020-09-17 22:46    [W:0.067 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site