diff options
author | 2020-09-14 12:17:52 +0800 | |
---|---|---|
committer | 2020-09-22 18:16:15 -0500 | |
commit | 5ed2da99e3fcf3eee32a050fd31eb62d49575533 (patch) | |
tree | dc8c5dcfcda35ae834ccdcd7ed14b4cbd1032421 | |
parent | soc: fsl: dpio: remove set but not used 'addr_cena' (diff) | |
download | wireguard-linux-5ed2da99e3fcf3eee32a050fd31eb62d49575533.tar.xz wireguard-linux-5ed2da99e3fcf3eee32a050fd31eb62d49575533.zip |
soc: fsl: qman: convert to use be32_add_cpu()
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
-rw-r--r-- | drivers/soc/fsl/qbman/qman_test_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/fsl/qbman/qman_test_api.c b/drivers/soc/fsl/qbman/qman_test_api.c index 2895d062cf51..7066b2f1467c 100644 --- 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 */ |