Re: linux-next: Tree for Apr 26 (net/can/bcm.c)

From: Randy Dunlap
Date: Wed Apr 26 2017 - 10:53:38 EST


On 04/26/17 01:03, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20170424:
>

on x86_64:

when CONFIG_PROC_FS is not enabled:

../net/can/bcm.c:1541:14: error: 'struct netns_can' has no member named 'bcmproc_dir'
../net/can/bcm.c:1601:14: error: 'struct netns_can' has no member named 'bcmproc_dir'
../net/can/bcm.c:1696:11: error: 'struct netns_can' has no member named 'bcmproc_dir'
../net/can/bcm.c:1707:15: error: 'struct netns_can' has no member named 'bcmproc_dir'

2 of those are "protected" by
if (IS_ENABLED(CONFIG_PROC_FS)) {
but that doesn't seem to help/work here.

gcc v4.8.5



--
~Randy