commit | 9fe83ea8244d0da1729b42530f4ae99e4e48a37d | [log] [tgz] |
---|---|---|
author | Mao Wenan <maowenan@huawei.com> | Mon Dec 09 21:08:45 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 28 15:42:24 2020 +0100 |
tree | ac36517d4d53f211a066bc281eea6e5db547f69c | |
parent | 4c2ddfa6a5215e4cda72d4cfbb20967ed4f93534 [diff] |
NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu(). [ Upstream commit 718eae277e62a26e5862eb72a830b5e0fe37b04a ] Convert cpu_to_le16(le16_to_cpu(frame->datalen) + len) to use le16_add_cpu(), which is more concise and does the same thing. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Mao Wenan <maowenan@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>