cdc_ncm: Fix the build warning
authorAlexander Bersenev <bay@hackerdom.ru>
Sat, 14 Mar 2020 05:33:24 +0000 (10:33 +0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Mar 2020 07:41:29 +0000 (00:41 -0700)
commit5d0ab06b63fc9c727a7bb72c81321c0114be540b
treecd6b8e0e27675ed894d3b3381f1dd33dea4e53fe
parenta79c838fb049cf4cfe1affc0b0c013c43e1561f1
cdc_ncm: Fix the build warning

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

Fixes: 0fa81b304a79 ("cdc_ncm: Implement the 32-bit version of NCM Transfer Block")
Signed-off-by: Alexander Bersenev <bay@hackerdom.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c