2017-06-22 10:07:48

by Abdul Haleem

[permalink] [raw]
Subject: [linux-next][489e45][PowerPC] build broke on bare-metal with gcc 4.8.5

Hi,

next-20170621 fails to build on PowerPC bare-metal with gcc 4.8.5

Test : build
Machine : Power 8 bare-metal (BMC)
kernel : 4.12.0-rc6
gcc : 4.8.5
config : Hab-NV-config


$ make -S -j
In file included from drivers/net/ethernet/qlogic/qede/qede.h:43:0,
from drivers/net/ethernet/qlogic/qede/qede_main.c:63:
./include/linux/qed/qede_rdma.h:85:1: error: expected identifier or ‘(’
before ‘{’ token
{
^
./include/linux/qed/qede_rdma.h:84:19: warning: ‘qede_rdma_dev_add’ used
but never defined [enabled by default]
static inline int qede_rdma_dev_add(struct qede_dev *dev);
^
make[5]: *** [drivers/net/ethernet/qlogic/qede/qede_main.o] Error 1
make[5]: *** Waiting for unfinished jobs....

Possible bad commit looks to be:

commit 489e45ae42f000a5e045ac203ad5d6f08824cd56
Author: Sudarsana Reddy Kalluru <[email protected]>
Date: Wed Jun 8 06:22:12 2016 -0400

qede: Add dcbnl support.

This patch adds the interfaces for ieee/cee dcbnl callbacks and registers
them with the kernel.

Signed-off-by: Sudarsana Reddy Kalluru <[email protected]>
Signed-off-by: Yuval Mintz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>

diff --git a/drivers/net/ethernet/qlogic/qede/qede_dcbnl.c b/drivers/net/ethernet/qlogic/qede/qede_dcbnl.c
new file mode 100644
index 0000000..03e8c02
--- /dev/null
+++ b/drivers/net/ethernet/qlogic/qede/qede_dcbnl.c


--
Regard's

Abdul Haleem
IBM Linux Technology Centre



Attachments:
Hab-NV-config (83.40 kB)