commit | 47473722d2754621cf8588db0cd3d4720e66d206 | [log] [tgz] |
---|---|---|
author | Alexander Bersenev <bay@hackerdom.ru> | Sat Mar 14 10:33:24 2020 +0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 09 10:22:55 2023 +0200 |
tree | fb5eb8d8b4cbe7d4bc86a6ba33f617ce9839e1a5 | |
parent | 8cf7db86a8984ffa3a3388a8df12bc0aa4c79bd7 [diff] |
cdc_ncm: Fix the build warning commit 5d0ab06b63fc9c727a7bb72c81321c0114be540b upstream. 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> Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>