summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMao Wenan <maowenan@huawei.com>2019-12-09 21:08:45 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-24 08:34:40 +0100
commitec0237cb3621974af9ffe5aef452d1dbc4103ef8 (patch)
treeb99c2a9ddba9ddd78d9670741e3d2c58fb7ba1c1 /security
parent354704ede9b6a193adfe87a915d578976dfedd97 (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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions