Re: [PATCH v2 -next] NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().

From: David Miller
Date: Mon Dec 09 2019 - 17:27:54 EST


From: Mao Wenan <maowenan@xxxxxxxxxx>
Date: Mon, 9 Dec 2019 21:08:45 +0800

> 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@xxxxxxxxxx>
> Signed-off-by: Mao Wenan <maowenan@xxxxxxxxxx>

Applied, thanks.