brcmfmac: assign chip id and rev in bus interface after brcmf_usb_dlneeded
[firefly-linux-kernel-4.4.55.git] / fs / binfmt_elf.c
index df9ea4186d7529c12f6298ec7e139c9aaf6ab8ae..3892c1a2324143498f3e62fc171a0f5cdc6c44c9 100644 (file)
@@ -1694,7 +1694,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 {
@@ -1718,7 +1718,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);