Remove empty lines at end of file
Used command line to remove empty lines at end of file: find . -type f -exec sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \; Change-Id: I816ac9666b6dbb7c7e47843672f0d5cc499766a3 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: http://review.coreboot.org/10446 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Stefan Reinauer
parent
4ba3b79537
commit
52648623e0
@@ -47,4 +47,3 @@ do
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
|
@@ -29,4 +29,3 @@ sample input files from the 'example_input/' directory.
|
||||
--
|
||||
Ward Vandewege, 2009-10-28.
|
||||
ward@jhvc.com
|
||||
|
||||
|
@@ -17,4 +17,3 @@ c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
d0: 9f 76 62 72 89 83 11 20 21 ad 9d 60 c6 a4 19 00
|
||||
e0: 8b 12 31 29 c9 42 89 24 40 4a 14 21 c6 24 01 23
|
||||
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
|
||||
|
@@ -308,4 +308,3 @@ sub main {
|
||||
print "</body>\n</html>\n";
|
||||
|
||||
}
|
||||
|
||||
|
@@ -245,4 +245,3 @@ sub main {
|
||||
print "</body>\n</html>\n";
|
||||
|
||||
}
|
||||
|
||||
|
@@ -22,4 +22,3 @@ for OFFSET in 00, 01, 02, 03, 04, 05, 06, 07, 20, 21, 22, 23, 24, 25, 26, 27, 10
|
||||
echo 0:19.2 9C.l: `setpci -s 0:19.2 9C.l`
|
||||
|
||||
done
|
||||
|
||||
|
@@ -31,4 +31,3 @@ sort -r -k4 -t/ | while read file; do
|
||||
printf "$file "
|
||||
done
|
||||
printf "\n"
|
||||
|
||||
|
@@ -77,4 +77,3 @@ CR=$(curl -sS \
|
||||
--form "title=${TITLE}" \
|
||||
--form "text=<$1" \
|
||||
--request "POST" "${WIKIAPI}?action=edit&")
|
||||
|
||||
|
@@ -420,4 +420,3 @@ int parse_fv_to_payload(const struct buffer *input, struct buffer *output,
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
|
@@ -325,5 +325,3 @@ int parse_bzImage_to_payload(const struct buffer *input,
|
||||
xdr_segs(output, bzp.segs, bzp.num_segments);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -121,4 +121,3 @@ typedef struct {
|
||||
uint32_t number_of_va_and_sizes;
|
||||
/* data directory not needed */
|
||||
} pe_opt_header_64_t;
|
||||
|
||||
|
@@ -1849,4 +1849,3 @@ int copy_string(const char *src)
|
||||
yylval.strval = strdup(src);
|
||||
return STRING;
|
||||
}
|
||||
|
||||
|
@@ -184,4 +184,3 @@ struct linux_params {
|
||||
u8 command_line[COMMAND_LINE_SIZE]; /* 0x800 */
|
||||
u8 reserved17[1792]; /* 0x900 - 0x1000 */
|
||||
};
|
||||
|
||||
|
@@ -15,5 +15,3 @@ known working:
|
||||
known broken:
|
||||
alpha-elf
|
||||
powerpc64-elf
|
||||
|
||||
|
||||
|
@@ -682,5 +682,3 @@ else
|
||||
fi
|
||||
|
||||
printf "\n${green}You can now run your $TARGETARCH cross toolchain from $TARGETDIR.${NC}\n"
|
||||
|
||||
|
||||
|
@@ -50,4 +50,3 @@ install: $(PROGRAM)
|
||||
.PHONY: all clean distclean dep
|
||||
|
||||
-include .dependencies
|
||||
|
||||
|
@@ -87,4 +87,3 @@ install: $(PROGRAM)
|
||||
.PHONY: all clean distclean dep pciutils
|
||||
|
||||
-include .dependencies
|
||||
|
||||
|
@@ -465,5 +465,3 @@ int print_ambs(struct pci_dev *dev, struct pci_access *pacc)
|
||||
unmap_physical((void *)ambconfig, AMB_CONFIG_SPACE_SIZE);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -266,5 +266,3 @@ int print_mchbar(struct pci_dev *nb, struct pci_access *pacc)
|
||||
unmap_physical((void *)mchbar, size);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -218,4 +218,3 @@ int print_spibar(struct pci_dev *sb) {
|
||||
int print_spi(struct pci_dev *sb) {
|
||||
return (print_bioscntl(sb) || print_spibar(sb));
|
||||
}
|
||||
|
||||
|
@@ -127,4 +127,3 @@ def main():
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
|
@@ -66,4 +66,3 @@ pciutils:
|
||||
.PHONY: all clean distclean dep pciutils
|
||||
|
||||
-include .dependencies
|
||||
|
||||
|
@@ -85,4 +85,3 @@ else
|
||||
printf "Overwriting $CONFIG with new, minimized config.\n"
|
||||
mv "$TMPCONFIG" "$CONFIG"
|
||||
fi
|
||||
|
||||
|
@@ -286,4 +286,3 @@ kconf_id_lookup (register const char *str, register unsigned int len)
|
||||
return 0;
|
||||
}
|
||||
#line 48 "scripts/kconfig/zconf.gperf"
|
||||
|
||||
|
@@ -2466,4 +2466,3 @@ const char *zconf_curname(void)
|
||||
{
|
||||
return current_pos.file ? current_pos.file->name : "<none>";
|
||||
}
|
||||
|
||||
|
@@ -21,4 +21,3 @@
|
||||
LC_ALL=C export LC_ALL
|
||||
grep -l "[[:space:]][[:space:]]*$" `git ls-files src util |egrep -v "(^3rdparty|^src/vendorcode/|^util/kconfig/|^util/nvidia/cbootimage$|\<COPYING\>|\<LICENSE\>|\<README\>|_shipped$|\.patch$|\.bin$|\.hex$)"` | \
|
||||
sed -e "s,^.*$,File & has lines ending with whitespace.,"
|
||||
|
||||
|
@@ -42,4 +42,3 @@ for mobodir in $(git diff --diff-filter ACMR --name-only src/mainboard | sed -n
|
||||
done
|
||||
|
||||
exit 0
|
||||
|
||||
|
@@ -1145,4 +1145,3 @@ const struct msrdef intel_atom_msrs[] = {
|
||||
}},
|
||||
{ MSR_EOT }
|
||||
};
|
||||
|
||||
|
@@ -1292,5 +1292,3 @@ const struct msrdef intel_core2_later_msrs[] = {
|
||||
}},
|
||||
{ MSR_EOT }
|
||||
};
|
||||
|
||||
|
||||
|
@@ -2279,5 +2279,3 @@ const struct msrdef intel_nehalem_msrs[] = {
|
||||
}},
|
||||
{ MSR_EOT }
|
||||
};
|
||||
|
||||
|
||||
|
@@ -341,4 +341,3 @@ const struct msrdef intel_pentium4_later_msrs[] = {
|
||||
}},
|
||||
{ MSR_EOT }
|
||||
};
|
||||
|
||||
|
@@ -50,5 +50,3 @@ $(objutil)/nvramtool/%.o: $(top)/util/nvramtool/%.c
|
||||
$(objutil)/nvramtool/nvramtool: $(objutil)/nvramtool $(objutil)/nvramtool/accessors $(objutil)/nvramtool/cli $(addprefix $(objutil)/nvramtool/,$(nvramtoolobj))
|
||||
printf " HOSTCC $(subst $(objutil)/,,$(@)) (link)\n"
|
||||
$(HOSTCC) $(NVRAMTOOLFLAGS) -o $@ $(addprefix $(objutil)/nvramtool/,$(nvramtoolobj)) $(NVRAMTOOLLDFLAGS)
|
||||
|
||||
|
||||
|
@@ -166,4 +166,3 @@ cmos_access_t cmos_hal = {
|
||||
.write = cmos_hal_write,
|
||||
.set_iopl = cmos_set_iopl,
|
||||
};
|
||||
|
||||
|
@@ -34,4 +34,3 @@ cmos_access_t memory_hal = {
|
||||
.write = mem_hal_write,
|
||||
.set_iopl = mem_set_iopl,
|
||||
};
|
||||
|
||||
|
@@ -606,4 +606,3 @@ static const struct lb_record *next_cmos_rec(const struct lb_record *last,
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@@ -151,4 +151,3 @@ void open_cbfs(const char *filename)
|
||||
}
|
||||
cbfs_offset = cbfs_mapped-(0xffffffff-cbfs_stat.st_size+1);
|
||||
}
|
||||
|
||||
|
@@ -178,4 +178,3 @@ void *cbfs_find_file(const char *name, unsigned int type, unsigned int *len);
|
||||
|
||||
void open_cbfs(const char *filename);
|
||||
#endif
|
||||
|
||||
|
@@ -185,4 +185,3 @@ static void addrprint(FILE * outfile, uint64_t address, int width)
|
||||
fprintf(outfile, ":");
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -887,4 +887,3 @@ static void string_print_fn(const struct lb_record *rec)
|
||||
p = (const struct lb_string *)rec;
|
||||
printf("%s\n", p->string);
|
||||
}
|
||||
|
||||
|
@@ -48,4 +48,3 @@ void compile_reg_expr(int cflags, const char *expr, regex_t *reg)
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -238,4 +238,3 @@ echo:
|
||||
|
||||
clean:
|
||||
rm -f romcc romcc_pg core $(TEST_ASM_ALL) $(TEST_OBJ) $(TEST_ELF) tests/*.debug tests/*.debug2 tests/*.gmon.out tests/*.out
|
||||
|
||||
|
@@ -65,5 +65,3 @@ if [ '(' -f $base.c ')' -a '(' '!' -f core ')' -a '(' -f $base.S ')' ]; then
|
||||
else
|
||||
/bin/false
|
||||
fi
|
||||
|
||||
|
||||
|
@@ -16,4 +16,3 @@ static struct result main(int a, int b, struct big_arg d)
|
||||
result.d = a + 1;
|
||||
|
||||
}
|
||||
|
||||
|
@@ -18,4 +18,3 @@ static struct result main(int a, int b, int c, int d)
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@@ -6,4 +6,3 @@ static msr_t rdmsr(unsigned long index)
|
||||
}
|
||||
|
||||
#warning "romcc should die gracefully here"
|
||||
|
||||
|
@@ -28,4 +28,3 @@ static void spd_set_drb(void)
|
||||
device += SMBUS_MEM_DEVICE_INC;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -6,4 +6,3 @@ static void spd_set_drb(void)
|
||||
ch = *str;
|
||||
__builtin_outb(ch, 0xab);
|
||||
}
|
||||
|
||||
|
@@ -36,4 +36,3 @@ static void main(void)
|
||||
outb(p.i, 0x80);
|
||||
outb(p.j, 0x80);
|
||||
}
|
||||
|
||||
|
@@ -37,5 +37,3 @@ static void main(void)
|
||||
|
||||
accum += loops1 + loops0;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -40,4 +40,3 @@ static void spd_set_memclk(void)
|
||||
min_latency = new_latency;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -307,4 +307,3 @@ void sdram_enable_refresh(void)
|
||||
{
|
||||
spd_enable_refresh();
|
||||
}
|
||||
|
||||
|
@@ -161,4 +161,3 @@ static void spd_set_memclk(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -10,4 +10,3 @@ static void main(void)
|
||||
msr_t msr;
|
||||
msr = rdmsr(0x12345678);
|
||||
}
|
||||
|
||||
|
@@ -14,4 +14,3 @@ static struct result main(int a, int b, int c, int d)
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@@ -1951,4 +1951,3 @@ void yyfree (void * ptr )
|
||||
}
|
||||
|
||||
#define YYTABLES_NAME "yytables"
|
||||
|
||||
|
@@ -1718,8 +1718,3 @@ yyreturn:
|
||||
/* Make sure YYID is used. */
|
||||
return YYID (yyresult);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -86,5 +86,3 @@ typedef union YYSTYPE
|
||||
#endif
|
||||
|
||||
extern YYSTYPE yylval;
|
||||
|
||||
|
||||
|
@@ -76,4 +76,3 @@ clean:
|
||||
rm -f $(PROGRAM) *.o
|
||||
|
||||
.PHONY: all install clean
|
||||
|
||||
|
@@ -38,4 +38,3 @@ clean:
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<
|
||||
|
||||
|
@@ -391,4 +391,3 @@ unsigned short get_device(char *arg_val)
|
||||
|
||||
return devfn;
|
||||
}
|
||||
|
||||
|
@@ -96,4 +96,3 @@ install: $(PROGRAM)
|
||||
.PHONY: all clean distclean dep pciutils
|
||||
|
||||
-include .dependencies
|
||||
|
||||
|
@@ -35,4 +35,3 @@ struct quirk_list {
|
||||
/* NULL-terminated list of quirks */
|
||||
struct quirk *dev_quirks;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user