coreboot/src/arch/riscv
Martin Roth 243af848bc UPSTREAM: riscv: Suppress invalid coverity errors
Coverity is detecting 'sp' as a variable which has not been initialized.
This is obviously not correct, so this patch *TRIES* to mark it as false

I'm not positive that this will work because the annotation needs to go
on the line above the error, but this error is inside of a # define.

Does the whole #define count as one line?  Can it go on the line
above the #define in the .h file?  Does it have to precede every line
where the #define is used?  The documentation doesn't make this clear.

Should suppress coverity issues: 1368525 & 1368527
uninit_use: Using uninitialized value sp.

BUG=none
BRANCH=none
TEST=none

Change-Id: I8fa056af3e829218d8139f3899b7291e62ea6796
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: f797a1ac6a
Original-Change-Id: Ibae5e206c4ff47991ea8a11b6b59972b24b71796
Original-Signed-off-by: Martin Roth <martinroth@google.com>
Original-Reviewed-on: https://review.coreboot.org/18247
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Jonathan Neuschfer <j.neuschaefer@gmx.net>
Reviewed-on: https://chromium-review.googlesource.com/445149
2017-02-21 06:44:26 -08:00
..
include UPSTREAM: riscv: Suppress invalid coverity errors 2017-02-21 06:44:26 -08:00
boot.c UPSTREAM: riscv: start to use the configstring functions 2016-11-14 19:59:08 -08:00
bootblock.S UPSTREAM: riscv: get SBI calls to work 2017-01-19 06:10:47 -08:00
id.ld arch/riscv: Add missing license headers 2016-01-18 02:14:03 +01:00
id.S UPSTREAM: src/arch/riscv/id.S: Don't hardcode the strings 2016-08-11 20:39:57 -07:00
Kconfig UPSTREAM: riscv: start to use the configstring functions 2016-11-14 19:59:08 -08:00
Makefile.inc UPSTREAM: riscv: start to use the configstring functions 2016-11-14 19:59:08 -08:00
mcall.c UPSTREAM: riscv: Move mcall numbers to mcall.h, adjust their names 2017-01-19 06:10:57 -08:00
misc.c arch/riscv: Add missing license headers 2016-01-18 02:14:03 +01:00
payload.S UPSTREAM: riscv: change payload() to pass the config string pointer as arg0 2016-11-14 19:59:13 -08:00
prologue.inc tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sbi.S UPSTREAM: riscv: Move mcall numbers to mcall.h, adjust their names 2017-01-19 06:10:57 -08:00
stages.c arch: remove stage_exit() 2016-02-11 23:12:06 +01:00
tables.c lib: add common write_tables() implementation 2016-04-21 20:49:05 +02:00
trap_handler.c UPSTREAM: riscv: Move mcall numbers to mcall.h, adjust their names 2017-01-19 06:10:57 -08:00
trap_util.S UPSTREAM: riscv: get SBI calls to work 2017-01-19 06:10:47 -08:00
virtual_memory.c UPSTREAM: riscv: enable counters via m[us]counteren 2016-12-21 03:13:13 -08:00