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:
d1826f2
)
fs/binfmt_elf.c: fix bool assignements
author
Fabian Frederick
<fabf@skynet.be>
Wed, 4 Jun 2014 23:12:14 +0000
(16:12 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:21 +0000
(16:54 -0700)
Fix coccinelle warnings.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_elf.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/binfmt_elf.c
b/fs/binfmt_elf.c
index aa3cb626671e4a573a4882580cc3d834664751f1..dabc73ab900fa8bc1e0036f30df2b13cb939b42c 100644
(file)
--- a/
fs/binfmt_elf.c
+++ b/
fs/binfmt_elf.c
@@
-1686,7
+1686,7
@@
static size_t get_note_info_size(struct elf_note_info *info)
static int write_note_info(struct elf_note_info *info,
struct coredump_params *cprm)
{
- bool first =
1
;
+ bool first =
true
;
struct elf_thread_core_info *t = info->thread;
do {
@@
-1710,7
+1710,7
@@
static int write_note_info(struct elf_note_info *info,
!writenote(&t->notes[i], cprm))
return 0;
- first =
0
;
+ first =
false
;
t = t->next;
} while (t);