projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f3670e
)
soc/qman: Fix direct access to fd's addr_lo, use proper accesor
author
Claudiu Manoil
<claudiu.manoil@nxp.com>
Wed, 16 Nov 2016 14:40:19 +0000
(16:40 +0200)
committer
Scott Wood
<oss@buserror.net>
Wed, 23 Nov 2016 07:23:42 +0000
(
01:23
-0600)
Use the proper accessor to get the FD address.
Accessing the internal field "addr_lo" directly is not portable
and error prone.
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qbman/qman.c
patch
|
blob
|
history
diff --git
a/drivers/soc/fsl/qbman/qman.c
b/drivers/soc/fsl/qbman/qman.c
index e350ed6450ae4f25a1ae09a982b6349dc2a111bc..96b0f004e0075e7e890d9f8f5614e9a5696e841a 100644
(file)
--- a/
drivers/soc/fsl/qbman/qman.c
+++ b/
drivers/soc/fsl/qbman/qman.c
@@
-1239,8
+1239,8
@@
static int qman_create_portal(struct qman_portal *portal,
/* special handling, drain just in case it's a few FQRNIs */
const union qm_mr_entry *e = qm_mr_current(p);
- dev_err(c->dev, "MR dirty, VB 0x%x, rc 0x%x
\n, addr 0x%x
",
- e->verb, e->ern.rc,
e->ern.fd.addr_lo
);
+ dev_err(c->dev, "MR dirty, VB 0x%x, rc 0x%x
, addr 0x%llx\n
",
+ e->verb, e->ern.rc,
qm_fd_addr_get64(&e->ern.fd)
);
goto fail_dqrr_mr_empty;
}
/* Success */