| commit | 827173afb39249416fa3ac116a6d0e21fcadc94c | [log] [tgz] |
|---|---|---|
| author | Kees Cook <keescook@chromium.org> | Fri Oct 19 18:45:53 2012 -0700 |
| committer | Iliyan Malchev <malchev@google.com> | Thu Nov 01 13:17:56 2012 -0700 |
| tree | 9e3595677374d2e35bf6c39fb2bc532387028c37 | |
| parent | cebdc12e13def8b27ac582e9905a0f5d73224467 [diff] |
use clamp_t in UNAME26 fix The min/max call needed to have explicit types on some architectures (e.g. mn10300). Use clamp_t instead to avoid the warning: kernel/sys.c: In function 'override_release': kernel/sys.c:1287:10: warning: comparison of distinct pointer types lacks a cast [enabled by default] Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>