* Re: next-20160816 build: 1 failures 2 warnings (next-20160816)
[not found] <E1bZaoA-0004xE-Oj@optimist>
@ 2016-08-16 16:38 ` Mark Brown
2016-08-17 5:44 ` Leon Romanovsky
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2016-08-16 16:38 UTC (permalink / raw)
To: Saeed Mahameed, Leon Romanovsky
Cc: kernel-build-reports, linaro-kernel, linux-next, netdev
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: next-20160816 build: 1 failures 2 warnings (next-20160816)
2016-08-16 16:38 ` next-20160816 build: 1 failures 2 warnings (next-20160816) Mark Brown
@ 2016-08-17 5:44 ` Leon Romanovsky
0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2016-08-17 5:44 UTC (permalink / raw)
To: Mark Brown
Cc: Saeed Mahameed, kernel-build-reports, linaro-kernel, linux-next,
netdev
[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]
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:
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-17 5:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1bZaoA-0004xE-Oj@optimist>
2016-08-16 16:38 ` next-20160816 build: 1 failures 2 warnings (next-20160816) Mark Brown
2016-08-17 5:44 ` Leon Romanovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).