Re: [PATCH] use clamp_t in UNAME26 fix

2012-10-24 Thread Greg KH
On Fri, Oct 19, 2012 at 09:30:24PM -0700, Kees Cook wrote:
> Argh, whoops. Greg, can you please include
> 31fd84b95eb211d5db460a1dda85e004800a7b52 in stable?

Now applied, thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] use clamp_t in UNAME26 fix

2012-10-24 Thread Greg KH
On Fri, Oct 19, 2012 at 09:30:24PM -0700, Kees Cook wrote:
 Argh, whoops. Greg, can you please include
 31fd84b95eb211d5db460a1dda85e004800a7b52 in stable?

Now applied, thanks.

greg k-h
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] use clamp_t in UNAME26 fix

2012-10-19 Thread Kees Cook
Argh, whoops. Greg, can you please include
31fd84b95eb211d5db460a1dda85e004800a7b52 in stable?

Thanks,

-Kees

On Fri, Oct 19, 2012 at 8:22 PM, Andrew Morton
 wrote:
> On Fri, 19 Oct 2012 18:45:53 -0700 Kees Cook  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 
>> Signed-off-by: Kees Cook 
>
> Needs a cc:stable in the changelog before committing, please.



-- 
Kees Cook
Chrome OS Security
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] use clamp_t in UNAME26 fix

2012-10-19 Thread Andrew Morton
On Fri, 19 Oct 2012 18:45:53 -0700 Kees Cook  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 
> Signed-off-by: Kees Cook 

Needs a cc:stable in the changelog before committing, please.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] use clamp_t in UNAME26 fix

2012-10-19 Thread Andrew Morton
On Fri, 19 Oct 2012 18:45:53 -0700 Kees Cook keesc...@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...@intel.com
 Signed-off-by: Kees Cook keesc...@chromium.org

Needs a cc:stable in the changelog before committing, please.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] use clamp_t in UNAME26 fix

2012-10-19 Thread Kees Cook
Argh, whoops. Greg, can you please include
31fd84b95eb211d5db460a1dda85e004800a7b52 in stable?

Thanks,

-Kees

On Fri, Oct 19, 2012 at 8:22 PM, Andrew Morton
a...@linux-foundation.org wrote:
 On Fri, 19 Oct 2012 18:45:53 -0700 Kees Cook keesc...@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...@intel.com
 Signed-off-by: Kees Cook keesc...@chromium.org

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



-- 
Kees Cook
Chrome OS Security
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/