coreboot-kgpe-d16/util
Patrick Georgi 667c7a3b23 util/fletcher: fix debug option parsing
sizeof(char[]-type+1) isn't very useful. Since one of
the strings is constant, we also don't need to use
strncmp that string's length. While at it, str*cmp don't
return booleans, so check for value instead of faux bools.

Change-Id: Iebb194a60eac454dafeade75f135df92068cf4ab
Found-by: Coverity Scan
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/6988
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
2014-10-18 14:45:42 +02:00
..
abuild abuild: skip boards for which we lack a cross compiler 2014-10-18 14:45:36 +02:00
acpi
amdtools
arm_boot_tools/mksunxiboot util: replace fseek/ftell/rewind with fstat 2014-08-12 11:53:24 +02:00
board_status to-wiki: Add IVYBRIDGE_NATIVE to the list of ivybridge names. 2014-09-13 20:22:26 +02:00
cbfstool cbfstool: free memory 2014-10-18 14:45:15 +02:00
cbmem util/cbmem: Fix CBMEM TOC printing 2014-10-18 14:29:29 +02:00
crossgcc
dtd_parser
dumpmmcr
ectool
exynos exynos: Install the BL1 and set the checksum in the Makefile. 2014-09-09 20:01:18 +02:00
fletcher util/fletcher: fix debug option parsing 2014-10-18 14:45:42 +02:00
genprof util/genprof: improve handling of command line arguments 2014-08-12 09:02:44 +02:00
getpir
gitconfig
i915tool util/i915tool: close the file also when fread() returned an error 2014-07-30 13:16:53 +02:00
ifdfake
ifdtool ifdtool: Provide bounds on string parser 2014-08-10 18:50:30 +02:00
inteltool util/inteltool: fix typo 2014-08-26 10:08:30 +02:00
k8resdump
kconfig
lbtdump
lint lint: simplify board-status check 2014-09-03 00:23:26 +02:00
mptable
msrtool
nvidia nvidia/cbootimage: avoid upstream's build system 2014-10-02 10:26:58 +02:00
nvramtool nvramtool: plug some memory leaks 2014-08-12 22:15:20 +02:00
optionlist
resetcf
romcc romcc: avoid use-after-free 2014-09-06 09:21:07 +02:00
runfw ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
sconfig sconfig: add cpu device type 2014-10-07 21:03:25 +02:00
showdevicetree ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
spkmodem_recv
superiotool
vgabios
viatool
xcompile xcompile: detect and use RISCV binaries 2014-10-08 15:44:17 +02:00