Tree/Branch: next-20160816 Git describe: next-20160816 Commit: 0c9a343971 Add linux-next specific files for 20160816
Build Time: 191 min 38 sec
Passed: 9 / 10 ( 90.00 %) Failed: 1 / 10 ( 10.00 %)
Errors: 1 Warnings: 2 Section Mismatches: 0
Failed defconfigs: arm-allmodconfig
Errors:
arm-allmodconfig ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:300:61: error: 'outb' undeclared (first use in this function)
------------------------------------------------------------------------------- defconfigs with issues (other than build errors): 1 warnings 0 mismatches : arm64-allmodconfig 2 warnings 0 mismatches : arm-allmodconfig
-------------------------------------------------------------------------------
Errors summary: 1 1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:300:61: error: 'outb' undeclared (first use in this function)
Warnings Summary: 2 2 ../drivers/video/fbdev/mb862xx/mb862xx-i2c.c:160:6: warning: unused variable 'ret' [-Wunused-variable] 1 ../drivers/tty/serial/8250/8250_fintek.c:34:0: warning: "IRQ_MODE" redefined
=============================================================================== Detailed per-defconfig build reports below:
------------------------------------------------------------------------------- arm64-allmodconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings: ../drivers/video/fbdev/mb862xx/mb862xx-i2c.c:160:6: warning: unused variable 'ret' [-Wunused-variable]
------------------------------------------------------------------------------- arm-allmodconfig : FAIL, 1 errors, 2 warnings, 0 section mismatches
Errors: ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:300:61: error: 'outb' undeclared (first use in this function)
Warnings: ../drivers/tty/serial/8250/8250_fintek.c:34:0: warning: "IRQ_MODE" redefined ../drivers/video/fbdev/mb862xx/mb862xx-i2c.c:160:6: warning: unused variable 'ret' [-Wunused-variable] -------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
arm64-allnoconfig arm-multi_v5_defconfig arm-multi_v7_defconfig x86_64-defconfig arm-allnoconfig x86_64-allnoconfig arm-multi_v4t_defconfig arm64-defconfig close failed in file object destructor: sys.excepthook is missing lost sys.stderr
On Tue, Aug 16, 2016 at 10:37:20AM +0100, Build bot for Mark Brown wrote:
Today's -next fails to build an ARM allmodconfig due to:
arm-allmodconfig ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:300:61: error: 'outb' undeclared (first use in this function)
which appears to be caused by 535e20f083e6 ({net,IB}/mlx5: QP/XRCD commands via mlx5 ifc). outb() just isn't available as standard on ARM, it's not something that's meaningful for the hardware.
On Tue, Aug 16, 2016 at 05:38:41PM +0100, Mark Brown wrote:
On Tue, Aug 16, 2016 at 10:37:20AM +0100, Build bot for Mark Brown wrote:
Today's -next fails to build an ARM allmodconfig due to:
arm-allmodconfig ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:300:61: error: 'outb' undeclared (first use in this function)
which appears to be caused by 535e20f083e6 ({net,IB}/mlx5: QP/XRCD commands via mlx5 ifc). outb() just isn't available as standard on ARM, it's not something that's meaningful for the hardware.
Thanks Mark for catching it.
It puzzles me how it passed all other compilations (internals and externals) without failures. On my machine (x86-64), old and new versions compile without errors.
This failure isn't related to OUT assembly instruction, but to typo in pointer name declaration. It was declared as "u32 *out", but "outb" was used.
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c b/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c index e587911..e94a953 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c @@ -297,7 +297,7 @@ static u64 qp_read_field(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp, *is_str = 0;
/* FIXME: use MLX5_GET rather than mlx5_qp_context manual struct */ - ctx = (struct mlx5_qp_context *)MLX5_ADDR_OF(query_qp_out, outb, qpc); + ctx = (struct mlx5_qp_context *)MLX5_ADDR_OF(query_qp_out, out, qpc);
switch (index) { case QP_PID:
kernel-build-reports@lists.linaro.org