On Tue, Nov 15, Linux Kernel Mailing List wrote:

> tree 574e979829d3363c16c8c6d1fe624b206d8ce4f9
> parent cb422c464bdaeeb3b9ad4539010e357bf1bd1745
> author Jochen Friedrich <[EMAIL PROTECTED]> Tue, 15 Nov 2005 13:57:15 -0800
> committer David S. Miller <[EMAIL PROTECTED]> Tue, 15 Nov 2005 13:57:15 -0800
> 
> [LLC]: Fix TX window scaling

> -             if (llc->npta > 127)
> -                     llc->npta = 127 ;
> +             if (llc->npta > ~LLC_2_SEQ_NBR_MODULO)
> +                     llc->npta = ~LLC_2_SEQ_NBR_MODULO ;

This change causes this:

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
net/llc/llc_c_ac.c: In function `llc_conn_ac_inc_tx_win_size':
net/llc/llc_c_ac.c:1089: warning: comparison is always true due to limited 
range of data type
net/llc/llc_c_ac.c:1090: warning: large integer implicitly truncated to 
unsigned type


-- 
short story of a lazy sysadmin:
 alias appserv=wotan
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to