]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging: wimax/i2400m: fix byte-order issue
authorkarthik alapati <mail@karthek.com>
Sun, 21 Feb 2021 15:31:05 +0000 (21:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 May 2021 08:38:17 +0000 (10:38 +0200)
commit8dce22aee6ae6f1a10c95dde6f06f261d623adc7
treef344fa985957ccc83f9d44ab01f8e44fcd0c03df
parent92194685fd958bca26578518465b4a5cc159be80
staging: wimax/i2400m: fix byte-order issue

[ Upstream commit 0c37baae130df39b19979bba88bde2ee70a33355 ]

fix sparse byte-order warnings by converting host byte-order
type to __le16 byte-order types before assigning to hdr.length

Signed-off-by: karthik alapati <mail@karthek.com>
Link: https://lore.kernel.org/r/0ae5c5c4c646506d8be871e7be5705542671a1d5.1613921277.git.mail@karthek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wimax/i2400m/op-rfkill.c