Skip to content

Commit 5ed2da9

Browse files
Liu ShixinLi Yang
authored andcommitted
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>
1 parent 72f7fe2 commit 5ed2da9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soc/fsl/qbman/qman_test_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static void fd_inc(struct qm_fd *fd)
8686
len--;
8787
qm_fd_set_param(fd, fmt, off, len);
8888

89-
fd->cmd = cpu_to_be32(be32_to_cpu(fd->cmd) + 1);
89+
be32_add_cpu(&fd->cmd, 1);
9090
}
9191

9292
/* The only part of the 'fd' we can't memcmp() is the ppid */

0 commit comments

Comments
 (0)