1
0
Fork 0
alistair23-linux/net/llc
David S. Miller 381998241f [LLC]: Fix compiler warnings introduced by TX window scaling changes.
Noticed by Olaf Hering.

The comparisons want a u8 here (the data type on the left-hand branch
is a u8 structure member, and the constant on the right-hand branch is
"~((u8) 128)"), but C turns it into an integer so we get:

net/llc/llc_c_ac.c: In function `llc_conn_ac_inc_npta_value':
net/llc/llc_c_ac.c:998: warning: comparison is always true due to limited range of data type
net/llc/llc_c_ac.c:999: warning: large integer implicitly truncated to unsigned type

Fix this up by explicitly recasting the right-hand branch constant
into a "u8" once more.

Signed-off-by: David S. Miller <davem@davemloft.net>
2005-11-17 15:17:42 -08:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [LLC]: Add sysctl support for the LLC timeouts 2005-09-22 04:30:44 -03:00
af_llc.c [LLC]: Make core block on remote busy. 2005-11-14 21:57:46 -08:00
llc_c_ac.c [LLC]: Fix compiler warnings introduced by TX window scaling changes. 2005-11-17 15:17:42 -08:00
llc_c_ev.c [LLC]: Remove unused functions from llc_c_ev.c 2005-09-22 04:19:52 -03:00
llc_c_st.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_conn.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
llc_core.c [LLC]: Fix sparse warnings 2005-09-22 05:14:33 -03:00
llc_if.c [LLC]: Fix the accept path 2005-09-22 07:57:21 -03:00
llc_input.c [LLC]: Fix llc_fixup_skb() bug 2005-09-22 04:48:46 -03:00
llc_output.c [LLC]: Use some more likely/unlikely 2005-09-22 04:32:10 -03:00
llc_output.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_pdu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_proc.c [LLC]: fix llc_ui_recvmsg, making it behave like tcp_recvmsg 2005-09-22 08:29:08 -03:00
llc_s_ac.c [LLC]: Fix the accept path 2005-09-22 07:57:21 -03:00
llc_s_ev.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_s_st.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_sap.c [LLC]: fix llc_ui_recvmsg, making it behave like tcp_recvmsg 2005-09-22 08:29:08 -03:00
llc_station.c [LLC]: Fix the accept path 2005-09-22 07:57:21 -03:00
sysctl_net_llc.c [LLC]: Fix sparse warnings 2005-09-22 05:14:33 -03:00