lkml.org 
[lkml]   [2008]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: uaccess: return value of __{get|put}_user() can be int

* Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> wrote:

> From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
>
> Impact: cleanup
>
> The type of return value of __{get|put}_user() can be int.
> There is no user to refer the return value of __{get|put}_user() as long.
> This reduces code size a bit on 64-bit.
>
> $ size vmlinux.*
> text data bss dec hex filename
> 4509265 479988 673588 5662841 566879 vmlinux.new
> 4511462 479988 673588 5665038 56710e vmlinux.old
>
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
> ---
> arch/x86/include/asm/uaccess.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)

applied to tip/x86/mm, thanks!

Ingo


\
 
 \ /
  Last update: 2008-12-12 12:03    [W:0.307 / U:1.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site