Skip to contentSkip to conversation

next-20170608 build: 1 failures 4 warnings (next-20170608)

DISCUSSION Build bot for Mark Brown 5 participants 7 messages Jun 8, 2017

Subsystems (4)
lore
Share & tools
lore

Build bot for Mark Brown

author maintainer
#0 lore raw

Tree/Branch: next-20170608
Git describe: next-20170608
Commit: e4689b9aad Add linux-next specific files for 20170608

Build Time: 0 min 12 sec

Passed:    6 / 7   ( 85.71 %)
Failed:    1 / 7   ( 14.29 %)

Errors: 1
Warnings: 4
Section Mismatches: 0

Failed defconfigs:
arm-allmodconfig

Errors:

arm-allmodconfig
../drivers/hsi/clients/ssi_protocol.c:1069:5: error: 'struct net_device' has no member named 'destructor'

-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
4 warnings 0 mismatches : arm-allmodconfig

-------------------------------------------------------------------------------

Errors summary: 1
1 ../drivers/hsi/clients/ssi_protocol.c:1069:5: error: 'struct net_device' has no member named 'destructor'

Warnings Summary: 4

	  1 ../drivers/scsi/qla2xxx/qla_init.c:6709:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=]
	  1 ../drivers/scsi/qla2xxx/qla_init.c:6407:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=]
	  1 ../drivers/mtd/nand/fsl_ifc_nand.c:696:7: warning: unused variable 'res' [-Wunused-variable]
	  1 ../drivers/i2c/i2c-stub.c:18:0: warning: "DEBUG" redefined

===============================================================================
Detailed per-defconfig build reports below:

-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 1 errors, 4 warnings, 0 section mismatches

Errors:
../drivers/hsi/clients/ssi_protocol.c:1069:5: error: 'struct net_device' has no member named 'destructor'

Warnings:
../drivers/i2c/i2c-stub.c:18:0: warning: "DEBUG" redefined
../drivers/mtd/nand/fsl_ifc_nand.c:696:7: warning: unused variable 'res' [-Wunused-variable] ../drivers/scsi/qla2xxx/qla_init.c:6407:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=] ../drivers/scsi/qla2xxx/qla_init.c:6709:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=]
-------------------------------------------------------------------------------

Passed with no errors, warnings or mismatches:

arm-multi_v5_defconfig
arm-multi_v7_defconfig
x86_64-defconfig
arm-allnoconfig
x86_64-allnoconfig
arm-multi_v4t_defconfig

#1 lore raw

Hi Dave,

Quoted 14 lines · On Thu, 08 Jun 2017 10:57:50 +0100 Build bot for Mark Brown…

Tree/Branch: next-20170608
Git describe: next-20170608
Commit: e4689b9aad Add linux-next specific files for 20170608

Build Time: 0 min 12 sec

Passed:    6 / 7   ( 85.71 %)
Failed:    1 / 7   ( 14.29 %)

Errors: 1
Warnings: 4
Section Mismatches: 0

Quoted 7 lines

Failed defconfigs:
arm-allmodconfig

Errors:

arm-allmodconfig
../drivers/hsi/clients/ssi_protocol.c:1069:5: error: 'struct net_device' has no member named 'destructor'

Looks like Mark has found another one.

Signature · 2 lines
Cheers,
Stephen Rothwell
author maintainer
#3 lore raw
In reply to Build bot for Mark Brown

On Thu, Jun 08, 2017 at 10:57:50AM +0100, Build bot for Mark Brown wrote:

Today's -next fails to build an ARM allmodconfig due to:

Quoted 2 lines

arm-allmodconfig
../drivers/hsi/clients/ssi_protocol.c:1069:5: error: 'struct net_device' has no member named 'destructor'

due to cf124db566e6 (net: Fix inconsistent teardown and release of private netdev state.) which missed this instance, presumably due to a combination of it not being in one of the normal networking driver directories and only being buildable on ARM.

#4 lore raw

Hi,

Quoted 11 lines · Mark Brown

On Thu, Jun 08, 2017 at 10:57:50AM +0100, Build bot for Mark Brown wrote:

Today's -next fails to build an ARM allmodconfig due to:

Quoted 2 lines

arm-allmodconfig
../drivers/hsi/clients/ssi_protocol.c:1069:5: error: 'struct net_device' has no member named 'destructor'

due to cf124db566e6 (net: Fix inconsistent teardown and release of private netdev state.) which missed this instance, presumably due to a combination of it not being in one of the normal networking driver directories and only being buildable on ARM.

I assume, that this will be fixed via the net tree. If you Cc me on updated/new patch I will provide Acked-by.

-- Sebastian

maintainer
#2 lore raw
In reply to Stephen Rothwell

From: Stephen Rothwell <[email protected]>
Date: Thu, 8 Jun 2017 20:27:04 +1000

Quoted 20 lines

Hi Dave,

Quoted 17 lines · On Thu, 08 Jun 2017 10:57:50 +0100 Build bot for Mark Brown…

Tree/Branch: next-20170608
Git describe: next-20170608
Commit: e4689b9aad Add linux-next specific files for 20170608

Build Time: 0 min 12 sec

Passed:    6 / 7   ( 85.71 %)
Failed:    1 / 7   ( 14.29 %)

Errors: 1
Warnings: 4
Section Mismatches: 0

Failed defconfigs:
arm-allmodconfig

Quoted 6 lines
Quoted 4 lines

Errors:

arm-allmodconfig
../drivers/hsi/clients/ssi_protocol.c:1069:5: error: 'struct net_device' has no member named 'destructor'

Looks like Mark has found another one.

This should fix it, pushed out to 'net'.

Thanks.

====================
[PATCH] hsi: Fix build regression due to netdev destructor fix.

Quoted 1 line

../drivers/hsi/clients/ssi_protocol.c:1069:5: error: 'struct net_device' has no member named 'destructor'

---
 drivers/hsi/clients/ssi_protocol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hsi/clients/ssi_protocol.c +1 -1
index 26b0510..93d28c0 100644
@@ -1066,7 +1066,7 @@ static void ssip_pn_setup(struct net_device *dev)
 	dev->addr_len		= 1;
 	dev->tx_queue_len	= SSIP_TXQUEUE_LEN;
 
-	dev->destructor		= free_netdev;
+	dev->needs_free_netdev	= true;
 	dev->header_ops		= &phonet_header_ops;
 }
 
Signature · 1 line
2.4.11
maintainer
#5 lore raw
In reply to Sebastian Reichel

From: Sebastian Reichel <[email protected]>
Date: Thu, 8 Jun 2017 13:33:26 +0200

Quoted 10 lines

Hi,

Quoted 7 lines · Mark Brown

On Thu, Jun 08, 2017 at 10:57:50AM +0100, Build bot for Mark Brown wrote:

Today's -next fails to build an ARM allmodconfig due to:

Quoted 2 lines

arm-allmodconfig
../drivers/hsi/clients/ssi_protocol.c:1069:5: error: 'struct net_device' has no member named 'destructor'

Quoted 7 lines
Quoted 4 lines

due to cf124db566e6 (net: Fix inconsistent teardown and release of private netdev state.) which missed this instance, presumably due to a combination of it not being in one of the normal networking driver directories and only being buildable on ARM.

I assume, that this will be fixed via the net tree. If you Cc me on updated/new patch I will provide Acked-by.

It is fixed in the 'net' tree, don't worry about it :-)

#6 lore raw

Hi,

Quoted 13 lines · David Miller
Quoted 13 lines · Mark Brown
Quoted 11 lines · Build bot for Mark Brown

Today's -next fails to build an ARM allmodconfig due to:

Quoted 2 lines

arm-allmodconfig
../drivers/hsi/clients/ssi_protocol.c:1069:5: error: 'struct net_device' has no member named 'destructor'

due to cf124db566e6 (net: Fix inconsistent teardown and release of private netdev state.) which missed this instance, presumably due to a combination of it not being in one of the normal networking driver directories and only being buildable on ARM.

Quoted 4 lines
Quoted 2 lines

I assume, that this will be fixed via the net tree. If you Cc me on updated/new patch I will provide Acked-by.

It is fixed in the 'net' tree, don't worry about it :-)

https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=ed66e50d9587fc0bb032e276a2563c0068a5b63a

Looks good, thanks.

-- Sebastian