Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b219e25f authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

fs/binfmt_elf.c: fix bool assignements



Fix coccinelle warnings.

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d1826f2a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);