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: Hari Prasath Gujulan Elango <hgujulan@visteon.com> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b420315335
commit
94e057d7c4
1 changed files with 1 additions and 1 deletions
|
@ -2311,7 +2311,7 @@ static void rtl8192_rx_normal(struct net_device *dev)
|
||||||
|
|
||||||
struct rtllib_rx_stats stats = {
|
struct rtllib_rx_stats stats = {
|
||||||
.signal = 0,
|
.signal = 0,
|
||||||
.noise = -98,
|
.noise = (u8) -98,
|
||||||
.rate = 0,
|
.rate = 0,
|
||||||
.freq = RTLLIB_24GHZ_BAND,
|
.freq = RTLLIB_24GHZ_BAND,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue