summaryrefslogtreecommitdiff
path: root/drivers/soc/fsl/qbman/qman_test_api.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2020-10-03 12:59:13 -0700
committerOlof Johansson <olof@lixom.net>2020-10-03 12:59:14 -0700
commitc78c6e18ab266261c9967f8616fa2294b3d81d11 (patch)
treeba3baba1e06a895d7944be3a87d7a6184fd43c65 /drivers/soc/fsl/qbman/qman_test_api.c
parenta39c258cc4763768b02e0166a67b90e3b9f43fc1 (diff)
parentd97b957e32b1e7527a9b6652fa6e795f2861df7d (diff)
Merge tag 'soc-fsl-next-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/leo/linux into arm/drivers
NXP/FSL SoC driver updates for v5.10 Fix various compile warnings and static analysis warnings for: - QBMan driver - DPIO driver - QE driver * tag 'soc-fsl-next-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/leo/linux: soc: fsl: qe: Remove unnessesary check in ucc_set_tdm_rxtx_clk soc: fsl: qman: convert to use be32_add_cpu() soc: fsl: dpio: remove set but not used 'addr_cena' soc: fsl: qbman: Fix return value on success soc: fsl: qman: fix -Wpacked-not-aligned warnings Link: https://lore.kernel.org/r/20200923224416.25788-1-leoyang.li@nxp.com Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/soc/fsl/qbman/qman_test_api.c')
-rw-r--r--drivers/soc/fsl/qbman/qman_test_api.c2
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 */