From 2d454ec8653509279b5d1cb67fe72e296a6ac673 Mon Sep 17 00:00:00 2001 From: Nate Case Date: Tue, 13 May 2008 06:14:14 +1000 Subject: [PATCH] --- yaml --- r: 96823 b: refs/heads/master c: 9c8387afdc93f90bf0241411d44e011d8d5b76df h: refs/heads/master i: 96821: 0bfc5383a507ad8c24d3838234c8a49e9523b942 96819: 4c3fc0ab96a0eec80286ecbc3530fbe024a2c8f8 96815: a63f8ffefbebb19db0ce4e4724a91cd65712525a v: v3 --- [refs] | 2 +- trunk/include/asm-powerpc/uaccess.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 0d9af3d03a78..1bd9fa8d4b78 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 64e4566f6d590fbb284da061b9b664c2486dd2de +refs/heads/master: 9c8387afdc93f90bf0241411d44e011d8d5b76df diff --git a/trunk/include/asm-powerpc/uaccess.h b/trunk/include/asm-powerpc/uaccess.h index 8e798e3758bc..1a0736f8803f 100644 --- a/trunk/include/asm-powerpc/uaccess.h +++ b/trunk/include/asm-powerpc/uaccess.h @@ -380,7 +380,7 @@ static inline unsigned long __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) { if (__builtin_constant_p(n) && (n <= 8)) { - unsigned long ret; + unsigned long ret = 1; switch (n) { case 1: @@ -406,7 +406,7 @@ static inline unsigned long __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) { if (__builtin_constant_p(n) && (n <= 8)) { - unsigned long ret; + unsigned long ret = 1; switch (n) { case 1: