mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 08:18:47 +00:00
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>
This commit is contained in:
parent
72f7fe2d6a
commit
5ed2da99e3
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user