From: Dan Carpenter Date: Mon, 17 Oct 2011 21:04:20 +0000 (+0000) Subject: filter: use unsigned int to silence static checker warning X-Git-Tag: v3.2-rc1~182^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f25af27827080c3163e59c7af1ca84a05ce121c;p=pandora-kernel.git filter: use unsigned int to silence static checker warning This is just a cleanup. My testing version of Smatch warns about this: net/core/filter.c +380 check_load_and_stores(6) warn: check 'flen' for negative values flen comes from the user. We try to clamp the values here between 1 and BPF_MAXINSNS but the clamp doesn't work because it could be negative. This is a bug, but it's not exploitable. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed