projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
446d141
)
UniCore32-bugfix: fix mismatch return value of __xchg_bad_pointer
author
Guan Xuetao
<gxt@mprc.pku.edu.cn>
Thu, 14 Jun 2012 07:39:48 +0000
(15:39 +0800)
committer
Guan Xuetao
<gxt@mprc.pku.edu.cn>
Fri, 9 Nov 2012 09:30:09 +0000
(17:30 +0800)
When disintegrate system.h, I left an error in asm/cmpxchg.h, which
will result in following error:
arch/unicore32/include/asm/cmpxchg.h: In function '__xchg':
arch/unicore32/include/asm/cmpxchg.h:38: error: void value not ignored as it ought to be
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
arch/unicore32/include/asm/cmpxchg.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/unicore32/include/asm/cmpxchg.h
b/arch/unicore32/include/asm/cmpxchg.h
index df4d5acfd19f96c9a10598a9230a0331fb7be798..8e797ad4fa24f52cbadb7b6a860a3b214d83eb3f 100644
(file)
--- a/
arch/unicore32/include/asm/cmpxchg.h
+++ b/
arch/unicore32/include/asm/cmpxchg.h
@@
-35,7
+35,7
@@
static inline unsigned long __xchg(unsigned long x, volatile void *ptr,
: "memory", "cc");
break;
default:
-
ret =
__xchg_bad_pointer();
+ __xchg_bad_pointer();
}
return ret;