Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94e057d7 authored by Gujulan Elango, Hari Prasath (H.)'s avatar Gujulan Elango, Hari Prasath (H.) Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192e: fix wrong assignment



This patch addresses a spatch warning on assigning a negative
value to a unsigned integer.Similar patch has been submitted by
Larry Finger earlier to silence the same spatch warning in another
file.

Signed-off-by: default avatarHari Prasath Gujulan Elango <hgujulan@visteon.com>
Acked-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b4203153
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2311,7 +2311,7 @@ static void rtl8192_rx_normal(struct net_device *dev)

	struct rtllib_rx_stats stats = {
		.signal = 0,
		.noise = -98,
		.noise = (u8) -98,
		.rate = 0,
		.freq = RTLLIB_24GHZ_BAND,
	};