Commit 5ed2da99 authored by Liu Shixin's avatar Liu Shixin Committed by Li Yang
Browse files

soc: fsl: qman: convert to use be32_add_cpu()



Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
parent 72f7fe2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */