Commit 47473722 authored by Alexander Bersenev's avatar Alexander Bersenev Committed by Greg Kroah-Hartman
Browse files

cdc_ncm: Fix the build warning

commit 5d0ab06b upstream.

The ndp32->wLength is two bytes long, so replace cpu_to_le32 with cpu_to_le16.

Fixes: 0fa81b30

 ("cdc_ncm: Implement the 32-bit version of NCM Transfer Block")
Signed-off-by: default avatarAlexander Bersenev <bay@hackerdom.ru>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8cf7db86
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment