Re: verify_sec_ctx_len() warning

2006-03-03 Thread David S. Miller
From: Andrew Morton <[EMAIL PROTECTED]> Date: Fri, 3 Mar 2006 02:52:18 -0800 > net/xfrm/xfrm_user.c: In function `verify_sec_ctx_len': > net/xfrm/xfrm_user.c:104: warning: comparison is always false due to limited > range of data type > > if (sec_ctx->sadb_x_ctx_len > PAGE_SIZE) > > PAG

verify_sec_ctx_len() warning

2006-03-03 Thread Andrew Morton
net/xfrm/xfrm_user.c: In function `verify_sec_ctx_len': net/xfrm/xfrm_user.c:104: warning: comparison is always false due to limited range of data type if (sec_ctx->sadb_x_ctx_len > PAGE_SIZE) PAGE_SIZE is 64k on powerpc, and that's a 16-bit variable. - To unsubscribe from this list: sen