projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f7fe2
)
soc: fsl: qman: convert to use be32_add_cpu()
author
Liu Shixin
<liushixin2@huawei.com>
Mon, 14 Sep 2020 04:17:52 +0000
(12:17 +0800)
committer
Li Yang
<leoyang.li@nxp.com>
Tue, 22 Sep 2020 23:16:15 +0000
(18:16 -0500)
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qbman/qman_test_api.c
patch
|
blob
|
history
diff --git
a/drivers/soc/fsl/qbman/qman_test_api.c
b/drivers/soc/fsl/qbman/qman_test_api.c
index
2895d06
..
7066b2f
100644
(file)
--- a/
drivers/soc/fsl/qbman/qman_test_api.c
+++ b/
drivers/soc/fsl/qbman/qman_test_api.c
@@
-86,7
+86,7
@@
static void fd_inc(struct qm_fd *fd)
len--;
qm_fd_set_param(fd, fmt, off, len);
-
fd->cmd = cpu_to_be32(be32_to_cpu(fd->cmd) +
1);
+
be32_add_cpu(&fd->cmd,
1);
}
/* The only part of the 'fd' we can't memcmp() is the ppid */