| commit | f4d9951889686ea215f2ba46d311d36cdf7fcf8b | [log] [tgz] |
|---|---|---|
| author | Kees Cook <keescook@chromium.org> | Fri Oct 19 18:45:53 2012 -0700 |
| committer | Ramanan Rajeswaran <ramanan@google.com> | Thu Nov 01 14:32:48 2012 -0700 |
| tree | daf9728387d2bff6ecb1a99291daa3fc7466d975 | |
| parent | 96b669392f664d349142c53d15b5c05fcd98853e [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>