lkml.org 
[lkml]   [2012]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] use clamp_t in UNAME26 fix
    On Fri, 19 Oct 2012 18:45:53 -0700 Kees Cook <keescook@chromium.org> wrote:

    >
    > 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>

    Needs a cc:stable in the changelog before committing, please.


    \
     
     \ /
      Last update: 2012-10-20 05:41    [W:4.959 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site