diff options
author | Martin Roth <martin@coreboot.org> | 2021-02-13 23:19:51 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-16 08:12:15 +0000 |
commit | db4719f0396854dfca4018487a6ed1580426f7ff (patch) | |
tree | 5098fdea434dfad510f6e05dfdc70b4cde91ac79 /.checkpatch.conf | |
parent | 264e14b143aa4073c6c10df84cffabc5065b8a58 (diff) |
util/bincfg: Fix all issues
This fixes the following issues:
bincfg.l: In function ‘parsehex’:
error: declaration of ‘val’ shadows a global declaration
bincfg.y: In function ‘generate_binary_with_gbe_checksum’:
error: comparison of integer expressions of different signedness
bincfg.y: In function ‘yyerror’:
bincfg.y:408:28: error: unused parameter ‘fp’
bincfg.y: In function ‘main’:
bincfg.y:452:15: error: unused variable ‘pos’
bincfg.y:451:16: error: unused variable ‘c’
BUG=None
TEST=Build outputs and make sure they're identical.
Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I60039b741c226a6b6ba53306f6fa293da89e5355
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50653
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to '.checkpatch.conf')
0 files changed, 0 insertions, 0 deletions